Part Number Hot Search : 
MNTWG LTCZQ TDA73480 1DTT1 MC9S1 MC33364 C100B 7C138
Product Description
Full Text Search
 

To Download I5216ED Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  i5216 series advanced information preliminary 8 to 16 minute voice record/playback system with integrated codec publication release date: november 30, 2001 -1 revision a1 general description the chipcorder i5216 is an 8 to 16 minute voice and data record and playback system with integrated voice band codec. the device works on a single 2.7v to 3.3v supply, and has fully integrated system functions, including: agc, microphone preamplifier, speaker driver, memory and codec. the codec meets the pcm conformance specification of the g.714 recommendation. its - law and a-law compander meets the specification of the itu-t g.711 recommendation. features ? single supply 2.7 to 3.3 volt operation ? voice and digital data record and playback system on a single chip ? industry-leading sound quality ? low voltage operation ? message management ? fully integrated system functions ? flexible architecture ? nonvolatile message storage ? configurable chipcorder sampling rates of 4 khz, 5.3khz, 6.4 khz and 8khz ? 8, 10, 12 and 16 minutes duration ? external or internal voice recorder clock ? i 2 c serial interface (400khz) ? configurable analog paths ? 2.2v microphone bias pin ? 100 year message retention (typical) ? 100k analog record cycles (typical) ? 10k digital record cycles (typical) ? full-duplex (not in i 2 s mode) single channel speech codec with : o external 13.824 mhz, 27.648 mhz, 20.48 mhz or 40.96 mhz master clock o i 2 s and pcm digital audio interface ports o serial transfer data rate from 64 to 3072 kbps o short and long frame sync formats o 2s complement and signed magnitude data format o complete -law and a-law companding o linear 14 bit ? pcm codec-filter for a/d and d/a converter o 8 khz or 44.1 khz ? 48 khz digital audio sampling rate options o analog receive and transmit gain adjust o configurable setup through the i 2 c interface
i5216 series advanced information preliminary publication release date: november 30, 2001 -2 revision a1 table of contents general description .......................................................................................................1 features .............................................................................................................................. 1 pin layout & descriptions ............................................................................................ 4 i5216 block diagrams ....................................................................................................... 6 functional description ................................................................................................ 8 speech/sound quality ....................................................................................... 8 duration ................................................................................................................. 8 flash storage ...................................................................................................... 9 microcontroller interface .......................................................................... 9 programming ........................................................................................................ 9 applications ....................................................................................................................... 9 internal registers ....................................................................................................... 14 memory organization .................................................................................................. 17 operation modes ............................................................................................................ 17 i 2 c port ............................................................................................................................... 17 i 2 c slave address ........................................................................................................... 18 i 2 c operation definitions ............................................................................................ 19 i 2 c control registers .................................................................................................. 21 command byte .................................................................................................................. 21 function bits ................................................................................................................... 21 register bits .................................................................................................................... 22 opcode summary ............................................................................................................ 22 databytes .......................................................................................................................... 24 power-up sequence ..................................................................................................... 25 set master clock division ratio ............................................................................. 25 playback mode ..................................................................................... ......................... 26 record mode ...................................................................................................... ............ 26 feed through mode ........................................................................................ ............ 26 call record ....................................................................................................... ............ 30 memo record ..................................................................................................... ............ 31 memo & call playback ..................................................................................... ............ 32 message cueing ................................................................................................ ............ 34 analog mode ...................................................................................................... ............ 34
i5216 series advanced information preliminary publication release date: november 30, 2001 -3 revision a1 auto mute & auto gain functions ............................................................. ............ 37 volume control description ..................................................................... ............ 38 speaker & aux out description .................................................................. ............ 39 microphone inputs .......................................................................................... ............ 40 digital mode ....................................................................................................... ............ 41 writing data .................................................................................................................... 41 reading data ................................................................................................................... 41 erasing data ................................................................................................................... 41 example command sequences ................................................................................. 42 pin details ........................................................................................................................ 45 digital i/o pins .................................................................................................... 45 analog i/o pins ................................................................................................... 48 auxiliary output .............................................................................................. 49 auxiliary input .................................................................................................. 50 power & ground pins ..................................................................................... 51 sample layout for pdip ................................................................................. 52 electrical characteristics ..................................................................................... 53 absolute maximum ratings for packaged parts ................................ 53 absolute maximum ratings for die ........................................................... 53 operating conditions for packaged parts ......................................... 53 operating conditions for die .................................................................... 54 general parameters ................................................................................................... 54 timing parameters ........................................................................................................ 55 analog parameters ..................................................................................................... 57 i 2 c interface timing ...................................................................................................... 60 codec parameters ....................................................................................................... 61 timing diagrams ............................................................................................................. 62 i 2 c serial interface technical information ...................................................... 69 i 2 s serial interface technical information ...................................................... 73 device physical dimensions ...................................................................................... 77 die bonding physical layout .................................................................................... 80 ordering information ??????????????????????................. 82
i5216 series advanced information preliminary publication release date: november 30, 2001 -4 revision a1 soic 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 i5216 v ccd scl a1 sda v ssd v ssd a0 micbs mic- mic+ v ssa acap sp- v ssa sp+ v cca aux in ws sck aux out nc sdi v ssa sdio rac int mclk v ccd isd5216 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 v ssd v ssd a0 sda a1 scl v ccd v ccd mclk int rac sdi sdio v ssa v ssa micbs mic+ mic - acap sp - aux in sck aux out ws v cca sp+ v ssa nc 28 27 26 25 24 23 22 21 20 19 18 17 16 15 v ssd v ssd a0 sda a1 scl v ccd v ccd mclk int rac sdi sdio v ssa micbs mic+ mic - acap sp - aux in sck aux out ws v cca sp+ v ssa nc isd5216 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 - pin tsop pdip/soic v ssa i5216 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 v ssd v ssd a0 sda a1 scl v ccd v ccd mclk int rac sdi sdio v ssa v ssa micbs mic+ mic - acap sp - aux in sck aux out ws v cca sp+ v ssa nc 28 27 26 25 24 23 22 21 20 19 18 17 16 15 v ssd v ssd a0 sda a1 scl v ccd v ccd mclk int rac sdi sdio v ssa micbs mic+ mic - acap sp - aux in sck aux out ws v cca sp+ v ssa nc i5216 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 - pin tsop v ssa isd5216 pin layout pdip
i5216 series advanced information preliminary publication release date: november 30, 2001 -5 revision a1 pin description pin name pin no. 28-pin tsop pin no. 28-pin pdip pin no. 28-pin soic functionality rac 4 25 25 row address clock; an open drain output. the rac pin goes low t raclo 1 before the end of each row of memory, and returns high at exactly the end of each row of memory. /int 5 26 26 interrupt output; an open drain output indicating that a set eom bit has been found during playback, or that the chip is in an overflow (ovf) condition. this pin remains low until a read status command is executed. mclk 6 27 27 this pin allows the internal clock of the voice record/playback system to be externally driven for enhanced timing precision. this pin is grounded for most applications. it is required for the codec operation. scl 9 2 2 serial clock line is part of the i 2 c serial bus. it is used to clock the data into and out of the i 2 c interface. sda 11 4 4 serial data line is part of the i 2 c serial bus. data is passed between devices on the bus over this line. a0 12 5 7 input pin that supplies the lsb for the i 2 c slave address. a1 10 3 3 input pin that supplies the lsb +1 bit for the i 2 c slave address. mic+ 16 9 10 differential positive input to the microphone amplifier. mic- 17 10 9 differential negative input to the microphone amplifier. micbs 18 11 8 microphone bias voltage acap 19 12 12 agc capacitor connection. required for the on-chip agc amplifier. sp+ 22 15 15 differential positive speaker driver output. sp- 20 13 13 differential negative speaker driver output. when the speaker outputs are in use, the aux out output is disabled. aux in 24 17 17 auxiliary input. this is one of the gain adjustable analog inputs for the device. aux out 25 18 20 auxiliary output. this is one the analog outputs for the device. when this output is in use, the sp+ and sp- outputs are disabled. sdi 2 23 22 serial digital audio pcm input. sdio 3 24 24 serial digital audio pcm output or i 2 s input/output. ws 28 21 18 digital audio pcm frame sync (fs) or i 2 s word sync (ws). sck 27 20 19 digital audio pcm or i 2 s serial clock. v ccd 7,8 1,28 1,28 positive digital supply pins. these pins carry noise generated by internal clocks in the chip. they must be carefully bypassed to digital ground to ensure correct device operation. v ssd 13,14 6,7 5,6 digital ground pins. v ssa 1,15,21 8,14,22 11,14,23 analog ground pins. v cca 23 16 16 positive analog supply pin. this pin supplies the low level audio sections for the device. it should be carefully bypassed to analog ground to ensure correct device operation. nc 26 19 21 no connection 1 see parameters section of the datasheet.
i5216 series advanced information preliminary publication release date: november 30, 2001 -6 revision a1 block diagrams 5/22/01 i5216 block diagram aux in amp 1.0 / 1.4 / 2.0 / 2.8 agc sum1 mux vol mux filter mux low pass filter sum1 dao vol sp+ sp- speaker aux out mic+ mic - agccap microphone aux in mclk v ssa v cca v ssa v ssd v ssd v ccd v ccd 2 x 64 s/h program/read control input source mux array i/o mux sum1 inp dao sum2 filto sum2 sum1 summing amp sum2 summing amp output mux volume control mic in aux in filto sum1 aux in filto sum2 (analog) array inp sum1 mux ctrl (digital) 2 x 64-bit reg. array out (analog) array out (digital) array spkr. amp aux out amp power conditioning rac int sda scl a1 a0 device control internal clock multilevel storage array 2 ( ) vls0 vls1 2 ( ) axg0 axg1 2 ( ) s1s0 s1s1 2 ( ) s1m0 s1m1 2 ( ) s2m0 s2m1 ( ) opa0 opa1 2 ( ) ops0 ops1 2 ( ) fld0 fld1 2 (ins0) 1 1 (axpd) 1 (agpd) 1 (flpd) 1 (fls0) 3 ( ) vol0 vol1 vol2 pcm / i2s interface ws sck sdio sdi -law / a-law / linear 14 bit codec c o d e c m u x sum2 inp cdi0 ( ) 2.2v voltage reference micbs dao a/d 2 auto mute auto gain 1 (amt0) ( ) 2 adpd dapd cdi1 mic+ mic- 2 ospd ckdv 1 (agpd) 2 1 (ckd2) ( ) 1 (vlpd)
i5216 series advanced information preliminary publication release date: november 30, 2001 -7 revision a1 5/8/01 pcm / i2s interface analog out 8 bits or 16 bits 8 bits or 16 bits ws sck sdio sdi analog in i5216 codec diagram /a-law expander or linear digital ? demodulator digital smoothing interpolation filter 14 bit 14 bit 1 bit /a-law compressor or linear digital high pass filter 15 bit 14 bit digital anti-aliasing decimation filter anti aliasing filter sc amp 0.8/1/1.2/1.25/1.4/1.6/1.8/2 3 ( ) cig0 cig1 cig2 1 (adpd) analog ? modulator 1 bit digital pll mclk ws sample frequency 1 bit d/a & sc filter 2 ( ) hpf0 hsr0 2 law0 law1 ( ) 1 i2s0 ( ) 1 hsr0 ( ) ( ) mute 1 ( ) mute 1 1 2 law0 law1 ( ) 3 cog0 cog1 cog2 ( ) 2 1 ckd2 ( ) 1 dao ( dapd )
i5216 series advanced information preliminary publication release date: november 30, 2001 -8 revision a1 functional description the i5216 chipcorder product provides high quality, fully integrated, single-chip record/playback solutions for 8- to 16-minute messaging applications that are ideal for use in pbx systems, cellular phones, automotive communications, gps/navigation systems, and other portable products. the i5216 product is an enhancement to the isd5116 architecture, providing: 1) a full duplex voice codec with -law and a-law compander, with i 2 s and pcm interface ports; 2) a 2.2v microphone bias supply for reduced noise coupling. this supply can also be used to power down the external microphone with the system. analog functions and audio gating have also been integrated into the i5216 product to allow for easy interfacing with integrated chip sets on the market. audio paths have been designed to enable full duplex conversation record, voice memo and answering machine (including outgoing message playback). logic interface options of 2.0v and 3.0v are supported by the i5216 to accommodate both portable communication (2.0- and 3.0-volt required) and automotive product customers (5.0-volt required). like other chipcorder products, the i5216 integrates the sampling clock, anti-aliasing and smoothing filters, and multi-level storage array on a single chip. for enhanced voice features, the i5216 eliminates external circuitry by integrating automatic gain control (agc), a power amplifier/speaker driver, volume control, summing amplifiers, analog switches, and a voice codec. input level adjustable amplifiers are also included, providing a flexible interface for multiple applications. recordings are stored in on-chip nonvolatile memory cells, providing zero-power message storage. this unique, single-chip solution is made possible through winbond?s patented multilevel storage technology. voice and audio signals are stored directly into solid-state memory in their natural, uncompressed form, providing superior quality voice and music reproduction. speech/sound quality the i5216 chipcorder product can be configured, via software, to operate at 4.0, 5.3, 6.4, and 8.0 khz sampling frequencies, allowing the user a choice of speech quality options. increasing the duration decreases the sampling frequency and bandwidth, which affects sound quality. the " input sample duration " table below compares filter pass band and product durations. duration to meet end-system requirements, the i5216 device is a single-chip solution, which provides 8 to 16 minutes of voice record and playback, depending on the sample rates defined by the customer's software. input sample rate to duration input sample rate (khz) duration 1 (minutes) typical filter pass band (khz) 8.0 8 min 3 sec 3.7 6.4 10 min 4 sec 2.9 5.3 12 min 9 sec 2.5 4.0 16 min 6 sec 1.8 1. minus any pages selected for digital storage o
i5216 series advanced information preliminary publication release date: november 30, 2001 -9 revision a1 flash storage one of the benefits of winbond?s chipcorder technology is the use of on-chip nonvolatile memory, which provides zero-power message storage. a message is retained for up to 100 years (typically) without power. in addition, the device can be re-recorded over 10,000 times (typically) for digital messages and over 100,000 times (typically) for analog messages. a new feature has been added that allows for the allocation of memory space in the i5216, to either digital or analog storage, when recording. when making a recording, if a section is assigned for digital or analog data storage, the system microcontroller stores this information in the message address table. microcontroller interface the i5216 is controlled through an i 2 c 2-wire interface. this synchronous serial port allows commands, configurations, address data, and digital data to be loaded to the device, while allowing status, digital data and current address information to be read back from the device. in addition to the serial interface, two other pins can be connected to the microcontroller for enhanced interface: the rac timing pin and the int\ pin for interrupts to the controller. communications with all of the internal registers is through the serial bus, as well as digital memory read and write operations. programming the i5216 series is also ideal for playback-only applications, whereas single or multiple messages may be played back when desired. playback is controlled through the i 2 c port. once the desired message configuration is created, duplicates can easily be generated via a winbond or third-party programmer. for more information on available application tools and programmers, please see the winbond web site at http://www.winbond-usa.com/ . applications the i5216 is a single chip solution for voice and analog storage that also includes the capability to store digital information in the memory array. the array may be divided between analog and digital storage, as the user chooses, when configuring the device. looking at the block diagram on the following page, one can see that the i5216 may be very easily designed into a cellular phone. placing the device between the microphone and the existing baseband chip takes care of the transmit path. the sdi/sdio of the baseband chip is connected to the sdio/sdi of the i5216. two pins are needed for the i 2 c digital control and digital information for storage.
i5216 series advanced information preliminary publication release date: november 30, 2001 -10 revision a1 starting at the microphone inputs, the input signal at the microphone inputs can be routed in the following ways: ? directly through the voice band codec of the i5216 chip, then through the sdio pin, to output the digital pcm signal. ? through the agc amplifier, before it is routed to the voice band codec. ? through the agc amplifier to the storage array ? through the agc amplifier and mixed with an analog voice band codec signal coming from the digital sdi pin in addition, if the phone is inserted into a "hands-free" car kit, then the signal from the pickup microphone in the car can be passed through to the same places from the aux in pin and the phone's microphone is switched off. in this scenario, the other party's voice from the phone would be played into the pcm in input and passed through to the aux out pin that would drive the car kit's loudspeaker. depending upon whether one desires recording one side (simplex) or both sides (duplex) of a conversation, the various paths will also be switched through to the low pass filter (for antialiasing) and into the storage array. later, the cell phone owner can play back the messages from the array. when this happens, the array output mux is connected to the volume control, through the output mux, to the speaker amplifier. for applications other than a cell phone, the audio paths can be switched into many different and flexible configurations. some examples follow. int scl sda
i5216 series advanced information preliminary publication release date: november 30, 2001 -11 revision a1 transformer application v ssd v ssd a 0 sda a 1 scl v ccd mclk int rac sdi sdio v ssa micbs mic+ mic- a cap sp- aux in sck aux out ws v cc a sp+ v ssa nc isd521 pdip v ssa v ccd 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 1 5 1 f .1 f .1 ? n = 1 n = 1 600 ? tip ring 1.5k ? 1.5k ? electret microphone wm-54b panasonic to microcontroller i 2 c interface and a ddress setting 13.824 mhz pcm in pcm out 8 khz 2.048 mhz to auxiliary input .1 f .1 f .1 f .1 f vcc vcc vcc 4.7k ? ?
i5216 series advanced information preliminary publication release date: november 30, 2001 -12 revision a1 handset application v ssd v ssd a 0 sda a 1 scl v ccd mclk i nt rac sdi sdio v ssa micbs mic+ mic- a cap sp aux in sck aux out ws v cca sp+ v ssa nc isd521 pdip v ssa v ccd 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 1 9 18 17 16 15 .1 f .1 f 1.5k ? 1.5k ? electret microphone wm-54b panasonic to microcontroller i 2 c interface and a ddress settin g 13.824 mhz pcm in pcm out 8 khz 2.048 mhz to ringer .1 f .1 ? 4.7k ? receive auxiliary input
i5216 series advanced information preliminary publication release date: november 30, 2001 -13 revision a1 car stereo application v ssd v ssd a 0 sda a 1 scl v ccd mclk int rac sdi sdio v ssa micbs mic+ mic- a cap sp- aux in sck aux out ws v cca sp+ v ssa nc isd521 pdip v ssa v ccd 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 2 3 22 21 20 19 1 8 17 16 15 1 f .1 f .1 f 1.5k ? 1.5k ? electret microphone wm-54b panasonic to microcontroller i 2 c interface and a ddress settin g 2 0 .4 8 mhz i 2 s s erial i /o 4 8 khz 3 . 0 72 mhz .1 f .1 f .1 f v cc v cc v cc 4.7k ? 4.7k ?
i5216 series advanced information preliminary publication release date: november 30, 2001 -14 revision a1 internal registers the following tables provide a general illustration of the bits. there are three configuration registers: cfg0, cfg1 and cfg2. thus, there are six 8-bit bytes to be loaded during the set-up of the device. cfg0 bit no. signal description d0 (lsb) vlpd power down the volume control. d1 opa0 power down speaker driver and/or auxiliary output. d2 opa1 power down speaker driver and/or auxiliary output. d3 ops0 select speaker output multiplexer. d4 ops1 select speaker output multiplexer. d5 cdi0 analog to digital converter input selector. d6 cdi1 analog to digital converter input selector. d7 amt0 compress the filter signal. d8 ospd power down the internal chipcorder oscillator. d9 ins0 select microphone input or auxiliary input. d10 axpd power down auxiliary input amplifier. d11 axg0 auxiliary input amplifier gain setting. d12 axg1 auxiliary input amplifier gain setting. d13 cig0 input gain setting for the analog to digital converter. d14 cig1 input gain setting for the analog to digital converter. d15 (msb) cig2 input gain setting for the analog to digital converter.
i5216 series advanced information preliminary publication release date: november 30, 2001 -15 revision a1 cfg1 bit no. signal description d0 (lsb) agpd power down the microphone agc d1 flpd power down the filter d2 fld0 set the duration and sample rate of the chipcorder d3 fld1 set the duration and sample rate of the chipcorder d4 fls0 select the filter input signal d5 s2m0 select sum amplifier 2 input d6 s2m1 select sum amplifier 2 input d7 s1m0 select sum amplifier 1 input d8 s1m1 select sum amplifier 1 input d9 s1s0 select sum amplifier 1 multiplexer d10 s1s1 select sum amplifier 1 multiplexer d11 vol0 volume control setting d12 vol1 volume control setting d13 vol2 volume control setting d14 vls0 select volume control input d15 (msb) vls1 select volume control input
i5216 series advanced information preliminary publication release date: november 30, 2001 -16 revision a1 cfg2 bit no. signal description d0 (lsb) adpd power down the analog to digital converter d1 dapd power down the digital to analog converter d2 law0 select digital -law or a-law input/output format d3 law1 select digital -law or a-law input/output format d4 i2s0 select the i2s interface d5 hsr0 enable the high sample rate mode d6 hpf0 enable high pass filter d7 mute mute the codec a/d and d/a path d8 ckdv divide mclk by 2560 or 1728 for 8 khz chipcorder sample rate d9 cog0 output gain setting for the digital to analog converter d10 cog1 output gain setting for the digital to analog converter d11 cog2 output gain setting for the digital to analog converter d12 ckd2 divide mclk frequency by 2 or 1 d13 - reserved d14 - reserved d15 (msb) - reserved
i5216 series advanced information preliminary publication release date: november 30, 2001 -17 revision a1 memory organization the i5216 memory array is arranged as 1888 rows (or pages) of 2048 bits, for a total memory of 3,866,624 bits. the primary addressing for the 2048 pages is handled by 11 bits of address data in the analog mode. at the 8 khz sample rate, each page contains 256 milliseconds of audio. thus, at 8 khz there is actually room for 8 minutes and 3 seconds of audio. a memory page is 2048 bits organized as thirty-two 64-bit "blocks" when used for digital storage. the contents of a page are either analog or digital. this is determined by instruction (op code) at the time the data is written. a record of what is analog and what is digital, and where, is stored by the system microcontroller in the message address table (mat). the mat is a table kept in the microcontroller memory that defines the status of each message ?block.? it can be stored back into the i5216 if the power fails or the system is turned off. use of this table allows for efficient message management. segments of messages can be stored wherever there is available space in the memory array. [this is explained in detail for the winbond i5008 in applications note #no.9 and will similarly be in a later note for the i5216.] when a page is used for analog storage, the same 32 blocks are present, but there are 8 eom (end- of-message) markers. this means that for each 4 blocks there is an eom marker at the end. thus, when recording, the analog recording will stop at any one of eight positions. at 8 khz, this results in a resolution of 32 msec when ending an analog recording. beginning an analog recording is limited to the 256 msec resolution provided by the 11-bit address. a recording does not immediately stop when the stop command is issued, but continues until the 32-millisecond block is filled. then a bit is placed into the eom memory to develop the interrupt that signals a message is finished playing in the playback mode. digital data is sent and received, serially, over the i 2 c interface. the data is serial-to-parallel converted and stored in one of two alternating (commutating) 64-bit shift registers. when an input register is full, it becomes the register that is parallel written into the array. the prior write register becomes the new serial input register. a mechanism is built in to ensure there is always a register available for storing new data. storing data in the memory is accomplished by accepting data, one byte at a time, and issuing an acknowledgement. if data is coming in faster than it can be written, then the chip will not issue an acknowledgement to the host microcontroller until it is ready. the read mode is the opposite of the write mode. data is read into one of two 64-bit registers from the array and serially sent to the i 2 c port. (see digital mode on page 41 for details). operation modes description i 2 c port important note: the content contained herein of the rest of this datasheet assumes that the reader is familiar with the i 2 c serial interface. additional information on i 2 c may be found in the i 2 c section of this document. if you are not familiar with this serial protocol, please read the i2c section to familiarize yourself with it. a significant amount of additional information on i 2 c can also be found on the philips web page at http://www.ph ilips.com/ .
i5216 series advanced information preliminary publication release date: november 30, 2001 -18 revision a1 i 2 c slave address the i5216 has a 7 bit slave address of <100 00xy> where x and y are equal to the state, respectively, of the external address pins a1 and a0. because all data bytes are required to be 8 bits, the lsb of the address byte is the read/write selection bit that tells the slave whether to transmit or receive data. therefore, there are eight possible slave addresses for the i5216 a1 a0 slave address r/w\ bit hex value 0 0 <100 00 00> 0 80 0 1 <100 00 01> 0 82 1 0 <100 00 10> 0 84 1 1 <100 00 11> 0 86 0 0 <100 00 00> 1 81 0 1 <100 00 01> 1 83 1 0 <100 00 10> 1 85 1 1 <100 00 11> 1 87 to use more than four i5216 devices in an application requires some external switching of the i 2 c link.
i5216 series advanced information preliminary publication release date: november 30, 2001 -19 revision a1 i 2 c operation defintions there are many control functions used to operate the i5216. among them are the following. read status command : the read status command is a read request from the host processor to the i5216 without delivering a command byte. the host supplies all of the clocks (scl). in each case, the entity sending the data drives the data line (sda). the read status command is executed by the following i 2 c sequence. 1. host executes i 2 c start 2. send slave address with r/w bit = ?1? (read) 81h. 3. slave responds back to host an acknowledge (ack), followed by 8 bit status word. 4. host sends an acknowledge (ack) to slave. 5. wait for scl to go high. 6. slave responds with upper address byte of internal address register. 7. host sends an ack to slave. 8. wait for scl to go high. 9. slave responds with lower address byte of internal address register. 10. host sends a no ack to slave, then executes i 2 c stop note: the processor could have sent an i 2 c stop after the status word data transfer, and thus aborted the transfer of the address bytes a graphical representation of this operation is found below. see the caption box above for more explanation. conventions used in i 2 c data transfer diagrams = start condition = stop condition = 8 bit data transfer = ?1? in the r/w bit = ?0? in the r/w bit = ack (acknowledge) = no ack w s slave address r a data p = host to slave (gray) = slave to host (white) the box color indicates the direction of data flow = 7 bit slav e address n s slave address a a dat a p r dat a dat a a n status hi g h addr. low addr.
i5216 series advanced information preliminary publication release date: november 30, 2001 -20 revision a1 load command byte register (single byte load) a single byte may be written to the command byte register in order to power up the device, start or stop analog record (if no address information is needed), or perform a message cueing function. the command byte register is loaded as follows: 1. host executes i 2 c start. 2. send slave address with r/w bit = ?0? (write) [80h]. 3. slave responds back with an ack. 4. wait for scl to go high. 5. host sends a command byte to slave. 6. slave responds with an ack. 7. wait for scl to go high. 8. host executes i 2 c stop. load command byte register (address load): for the normal addressed mode the registers are loaded as follows: 1. host executes i 2 c start. 2. send slave address with r/w bit = ?0? (write). 3. slave responds back with an ack. 4. wait for scl to go high. 5. host sends a byte to slave - (command byte). 6. slave responds with an ack. 7. wait for scl to go high. 8. host sends a byte to slave - (high address byte). 9. slave responds with an ack. 10. wait for scl to go high. 11. host sends a byte to slave - (low address byte). 12. slave responds with an ack. 13. wait for scl to go high. 14. host executes i 2 c stop. s slave address a data w command byte a s slave address a p w command dat a a dat a a dat a a hi g h addr. low addr.
i5216 series advanced information preliminary publication release date: november 30, 2001 -21 revision a1 i 2 c control registers the i5216 is controlled by loading commands to, or reading commands from the internal command, configuration and address registers. the command byte sent is used to start and stop recording, write or read digital data and perform other functions necessary for the operation of the device. command byte control of the i5216 is implemented through an 8-bit command byte that is sent after the 7-bit device address and the 1-bit read/write selection bit. the 8 bits are: global power up bit dab bit: determines whether device is performing an analog or digital function 3 function bits: these determine which function the device is to perform in conjunction with the dab bit. 3 register address bits: these determine if and when data is to be loaded to a register power up bit function bits the command byte function bits are detailed in the table to the right. c6, the dab bit, determines whether the device is performing an analog or digital function. the other bits are decoded to produce the individual commands. note that not all decode combinations are currently used; they are reserved for future use. out of 16 possible codes, the i5216 uses 7 for normal operation. the other 9 are no ops. c7 c6 c5 c4 c3 c2 c1 c0 pu dab fn2 fn1 fn0 rg2 rg1 rg0 function bits register bits command bits c6 c5 c4 c3 dab fn2 fn1 fn0 function 0 0 0 0 stop (or do nothing) 0 1 0 1 analog play 0 0 1 0 analog record 0 1 1 1 analog mc 1 1 0 0 digital read 1 0 0 1 digital write 1 0 1 0 erase (row)
i5216 series advanced information preliminary publication release date: november 30, 2001 -22 revision a1 register bits the register load may be used to modify a command sequence (such as load an address) or used with the null command sequence to load a configuration or test register. not all registers are accessible to the user. [the remaining three codes are no ops.] opcode summary opcode command description the following commands are used to access the chip through the i 2 c port: play: analog play command. record: analog record command. message cue: analog message cue command. enter digital mode. read: digital read command. write: digital write command. erase: digital page and block erase command. exit digital mode. power up: global power up/down bit. (c7). load address: load address register (is incorporated in play, record, read and write commands). load cfg0: load configuration register 0. load cfg1: load configuration register 1. load cfg2: load configuration register 2. read status: read the interrupt status and address register, including a hardwired device id. rg2 rg1 rg0 c2 c1 c0 function 0 0 0 no action 0 0 1 load address 0 1 0 load cfg0 0 1 1 load cfg1 1 0 1 load cfg2
i5216 series advanced information preliminary publication release date: november 30, 2001 -23 revision a1 opcode command byte table pwr function bits register bits opcode hex pu dab fn2 fn1 fn0 rg2 rg1 rg0 command bit number cmd c7 c6 c5 c4 c3 c2 c1 c0 power up 80 1 0 0 0 0 0 0 0 power down 00 0 0 0 0 0 0 0 0 stop (do nothing) stay on 80 1 0 0 0 0 0 0 0 stop (do nothing) stay off 00 0 0 0 0 0 0 0 0 load address 81 1 0 0 0 0 0 0 1 load cfg0 82 1 0 0 0 0 0 1 0 load cfg1 83 1 0 0 0 0 0 1 1 load cfg2 85 1 0 0 0 0 1 0 1 record analog 90 1 0 0 1 0 0 0 0 record analog @ addr 91 1 0 0 1 0 0 0 1 play analog a8 1 0 1 0 1 0 0 0 play analog @ addr a9 1 0 1 0 1 0 0 1 msg cue analog b8 1 0 1 1 1 0 0 0 msg cue analog @ addr b9 1 0 1 1 1 0 0 1 enter digital mode c0 1 1 0 0 0 0 0 0 erase digital page d1 1 1 0 1 0 0 0 1 write digital c8 1 1 0 0 1 0 0 0 write digital @ addr c9 1 1 0 0 1 0 0 1 read digital e0 1 1 1 0 0 0 0 0 read digital @ addr e1 1 1 1 0 0 0 0 1 exit digital mode 40 0 1 0 0 0 0 0 0 read status register 1 n/a n/a n/a n/a n/a n/a n/a n/a n/a
i5216 series advanced information preliminary publication release date: november 30, 2001 -24 revision a1 1 see playback and stop cycle on page 62 for details. databytes in the i 2 c write mode, the device can accept data sent after the command byte. if a register load option is selected, the next two bytes are loaded into the selected register. the format of the data is msb first, as specified by the i 2 c standard. thus to load data<15:0> into the device, data<15:8> is sent first, the byte is acknowledged, and data<7:0> is sent next. the address register consists of two bytes. the format of the address is as follows: address<15:0> = page_address<10:0>, block_address<4:0> if an analog function is selected, the block address bits must be set to 00000. digital read and write are block addressable. when the device is polled with the read status command, it will return three bytes of data. the first byte is the status byte, the next is the upper address byte and the last is the lower address byte. the status register is one byte long and its bit function is: status<7:0> = eom, ovf, ready, pd, prb, device_id<2:0> the lower address byte will always return the block address bits as zero, either in digital or analog mode. the functions of the bits are: bit# name function 7 eom indicates whether an eom interrupt has occurred. 6 ovf indicates whether an overflow interrupt has occurred. 5 ready indicates the internal status of the device ? if ready is low no new commands should be sent to device. 4 pd device is powered down if pd is high. 3 prb play/record mode indicator. high=play/low=record. 2 1 0 device_id an internal device id. this is 001 for the i5216. it is good practice to read the status register after a write or record operation to ensure that the device is ready to accept new commands. depending upon the design and the number of pins available on the controller, the polling overhead can be reduced. if int\ and rac are tied to the microcontroller, the controller does not have to poll as frequently to determine the status of the i5216
i5216 series advanced information preliminary publication release date: november 30, 2001 -25 revision a1 power-up sequence this sequence prepares the i5216 for an operation to follow, and waits for the tpud time before sending the next command sequence. 1. send i 2 c start. 2. send one byte 10000000 {slave address, r/w = 0} 80h. 3. slave ack. 4. wait for scl high. 5. send one byte 10000000 {command byte = power up} 80h. 6. slave ack. 7. wait for scl high. 8. send i 2 c stop. set master clock division ratio the i5216 product has two master clock configuration bits that allow four possible master clock frequencies. the master clock division ratios can be set by bits ckd2 and ckdv. these are bits d12 and d8 of cfg2, respectively. the combination of these bits, with the sample rate bit hsr0, also sets the codec sample frequency. master clock possible settings f mclk hsr0 (d5) (cfg2) ckd2 (d12) (cfg2) ckdv (d8) (cfg2) f scodec 13.824 mhz 0 0 0 8 khz 20.48 mhz 0 0 1 11.852 khz* 27.648 mhz 0 1 0 8 khz 40.96 mhz 0 1 1 11.852 khz* 13.824 mhz 1 0 0 32 khz* 20.48 mhz 1 0 1 44.1 - 48 khz 27.648 mhz 1 1 0 32 khz* 40.96 mhz 1 1 1 44.1-48 khz * not tested
i5216 series advanced information preliminary publication release date: november 30, 2001 - 26 - revision a1 playback mode the command sequence for an analog playback operation can be handled several ways. one technique is to do a load address (81h), which requires sending a total of four bytes, followed by a play analog, which is a command byte (a8h) preceded by the slave address byte. this is a total of six bytes plus the times for start, ack, and stop. another approach for an analog playback operation is via a single four byte exchange, which consists of the slave address (80h), the command byte (a9h) for play analog @ address, and the two address bytes. record mode the command sequence for an analog record is a four byte sequence consisting of the slave address (80h), the command byte (91h) for record analog @ address, and the two address bytes. (see i 2 c interface on page 17 for more detail.) feed through mode this diagram shows the part of the i5216 block diagram that is used in feed through mode. the rest of the chip will be powered down to conserve power. note that the microphone and speaker +/? paths are differential dac adc /a-law compressor /a-law expander pcm interface 2 (law1,law0) sdi sdio ws sck 3 (cig2,cig1,cig0) 3 (cog2,cog1,cog0) mic+ mic - inp+ inp- sum 2 + sum 2 - codec in mux input gain sp+ sp- speaker filto+ output mux spkr. am p (opa1,o pa0) 2 (ops1,o ps0) 2 vol+ sum2+ dao+ dao- sum2- vol- filto- 2 (law1,law0) 1 (i2s0) 3 (dapd,hsr0,mute) 4 (adpd,hsr0,hpf0,mute) (cdi1,cdi0) 2 output gain dac adc adc /a-law compressor /a-law expander pcm interface 2 (law1,law0) 2 (law1,law0) sdi sdi sdio sdio ws ws sck sck 3 (cig2,cig1,cig0) 3 (cog2,cog1,cog0) mic+ mic - inp+ inp- sum 2 + sum 2 - codec in mux mic+ mic - inp+ inp- sum 2 + sum 2 - mic+ mic - inp+ inp- sum 2 + sum 2 - codec in mux input gain sp+ sp- speaker filto+ output mux spkr. amp (opa1,o pa0) 2 (ops1,o ps0) 2 vol+ sum2+ dao+ dao- sum2- vol- filto- 2 (law1,law0) 2 (law1,law0) 1 (i2s0) 1 (i2s0) 3 (dapd,hsr0,mute) 4 (adpd,hsr0,hpf0,mute) (cdi1,cdi0) 2 output gain
i5216 series advanced information preliminary publication release date: november 30, 2001 - 27 revision a1 feed through mode the previous examples were dependent upon the device already being powered up and the various paths being set through the device for the desired operation. to set up the device for the various paths requires loading the three 16-bit configuration registers with the correct data. for example, in the feed through mode, the device only needs to be powered up and a few paths selected. this mode enables the i5216 to connect to a cellular or cordless baseband phone chip set without affecting the audio source or destination. there are two paths involved: the transmit path and the receive path. the transmit path connects the winbond chip?s microphone source through to the digital audio input on the baseband chip set. the receive path connects the baseband chip set?s digital output through to the speaker driver on the winbond chip. this allows the winbond chip to substitute for analog to digital and digital to analog conversion, and incidentally gain access to the audio, both to and from the baseband chip set. to setup the environment described above, a series of commands need to be sent to the i5216. first, the chip needs to be powered up as described in power-up sequence on page 25. then the configuration registers need to be filled with the specific data to connect the desired paths. in the case of the feed through mode, most of the chip can remain powered down. the feed through mode diagram illustrates the affected paths to select the feed through mode, the following control bits must be configured in the i5216 configura- tion register to set up the transmit path: 1. select the fthru path through the codec input mux?bits cdi1 and cdi0 control the state of the codec input mux. these are the d6 and d5 bits, respectively, of configuration register 0 (cfg0) and they should be set to one and zero, respectively, to select the fthru path. 2. power up the adc?bit adpd controls the power up state of adc. this is bit d0 of cfg2 and it should be a zero to power up the adc. 3. set the codec input gain. the input gain setting will depend on the input level at the mic+/- pins and can be set by the codec input gain bits cig2, cig1 and cig0. these are the d15, d14 and d13 bits, respectively, of configuration register 0 (cfg0). the input gain can be set according to the following table. (table a) 4. enable the high pass filter, if desired, in the low sample rate mode. this can be done by setting bit hpf0 to one. this is bit d6 of cfg2. 5. select the low or high sample rate mode by setting bit hsr0. this is bit d5 of cfg2. hsr0 needs to be set to one for the high sample rate mode. 6. set the mute bit if desired. this bit can be set temporarily to reduce power up ?pops? or to set the system on hold. this bit is d7 of cfg2 and needs to be set to one in order to mute the signal. 7. set the digital data format through bits law1 and law0. these are bits d3 and d2 of cfg2, respectively. the data format can be chosen according to the following table. (table b). 8. set the interface mode to pcm-interface by setting bit i 2 s0 to zero. this will also enable full duplex mode. this bit is bit d4 of cfg2. 9. set the master clock division ratios as described in set master clock division ratio on page 25.
i5216 series advanced information preliminary publication release date: november 30, 2001 - 28 revision a1 table a table b table c table d hsro sample rate mode hpf0 high pass filter 0 low 0 bypassed 1 high 1 enabled table e table f adpd codec adc dapd codec dac 0 power up 0 power up 1 power down 1 power down table g table h i 2 s0 condition mute condition 0 pcm interface 0 power up 1 i 2 s interface 1 mute codec adc & dac cig2 cig1 cig0 gain 0 0 0 0.80 0 0 1 1.00 0 1 0 1.20 0 1 1 1.25 1 0 0 1.40 1 0 1 1.60 1 1 0 1.80 1 1 1 2.00 law 1 law 0 data format 0 0 two?s complement 0 1 a-law 1 0 -law 1 1
i5216 series advanced information preliminary publication release date: november 30, 2001 - 29 revision a1 to set up the receive path: set up the codec output gain amplifier for the correct gain?bits cog0, cog1 and cog2 control the gain settings of this amplifier. these are bits d9, d10 and d11, respectively, of cfg2. the table below will help determine the setting cog2 cog1 cog0 gain (db) 0 0 0 0 0 0 1 +2 0 1 0 +4 0 1 1 +6 1 0 0 -8 1 0 1 -6 1 1 0 -4 1 1 1 -2 1. power up the dac?bit dapd controls the power up state of the dac. this is bit d1 of cfg2 and should be a zero to power up the dac. 2. select the dac path through the output mux?bits ops0 and ops1 control the state of the output mux. these are bits d3 and d4, respectively, of cfg0 and they should be set to the state where d3 is one and d4 is zero to select the dac path. 3. power up the speaker amplifier?bits opa0 and opa1 control the state of the speaker and aux amplifiers. these are bits d1 and d2, respectively, of cfg0. they should be set to the state where d1 is one and d2 is zero. this powers up the speaker amplifier and configures it for a higher gain setting (for use with a piezo speaker element) and also powers down the aux output stage. 4. set the master clock configuration bits and bits hsr0, mute, hpf0, i 2 s0, law1 and law0 as described in the previous sections. the status of the rest of the functions in the i5216 chip must be defined before the configuration registers settings are updated: 1. power down the volume control element? bit vlpd controls the power up state of the volume control. this is bit d0 of cfg0 and it should be set to a one to power down this stage. 2. power down the internal oscillator? bit pdos controls the power up state of the internal chipcorder oscillator. this is bit d8 of cfg0 and it should be set to a one to power down this oscillator
i5216 series advanced information preliminary publication release date: november 30, 2001 - 30 revision a1 3. power down the aux in amplifier? bit axpd controls the power up state of the aux in input amplifier. this is bit d10 of cfg0 and it should be set to a one to power down this stage. 4. power down the sum1 and sum2 mixer amplifiers? bits s1m0 and s1m1 control the sum1 mixer and bits s2m0 and s2m1 control the sum2 mixer. these are bits d7 and d8 in cfg1, and bits d5 and d6 in cfg1, respectively. all four bits should be set to a one in order to power down these two amplifiers. 5. power down the filter stage? bit flpd controls the power up state of the filter stage in the device. this is bit d1 in cfg1 and should be set to a one to power down the stage. 6. power down the agc amplifier? bit agpd controls the power up state of the agc amplifier. this is bit d0 in cfg1 and should be set to a one to power down this stage. 7. don?t care bits? all other bits are not used in feed through mode. their bits may be set to either level. in this example, we will set all the "don?t care" bits to a zero. the following example shows the setup for a full-duplex feed-through path at 8 khz sampling rate. the twos complement data format is enabled. the high pass filter is also enabled. the master clock input is running at 13.824mhz. cfg0=0010 0101 0100 1011 (hex 254b) and cfg1=0000 0001 1110 0011 (hex 01e3). and cfg2=0000 0000 0100 0000 (hex 0040). since three registers are being loaded, cfg0 is loaded, followed by the loading of cfg1 and cfg2. these three registers must be loaded in this order. the internal set up for these registers will take effect synchronously, with the rising edge of scl. call record the call record mode adds the ability to record the incoming phone call. in most applications, the i5216 would first be set up for feed through mode as described above. when the user wishes to record the incoming call, the set up of the chip is modified to add that ability. for the purpose of this explanation, we will use the 6.4 khz chipcorder sample rate during recording. the block diagram of the i5216 shows that the multilevel storage array is always driven from the sum2 summing amplifier. the path traces back from there, through the low pass filter, the filter mux, the sum1 summing amplifier, the sum1 mux, back to the origin codec. feed through mode has already powered up the codec, so we only need to power up and enable the path to the multilevel storage array from that point:
i5216 series advanced information preliminary publication release date: november 30, 2001 - 31 revision a1 1. select the codec path through the sum1 mux ?bits s1s0 and s1s1 control the state of the sum1 mux. these are bits d9 and d10, respectively, of cfg1 and they should be set to the state where both d9 and d10 are zero to select the codec path. 2. select the sum1 mux input (only) to the s1 summing amplifier ?bits s1m0 and s1m1 control the state of the sum1 summing amplifier. these are bits d7 and d8, respectively, of cfg1 and they should be set to the state where d7 is one and d8 is zero to select the sum1 mux (only) path. 3. select the sum1 summing amplifier path through the filter mux ?bit fls0 controls the state of the filter mux. this is bit d4 of cfg1 and it must be set to zero to select the sum1 sum- ming amplifier path. 4. deselect the signal compression -bit amt0 controls the signal compression. this is bit d7 of cfg0 and it must be set to zero. 5. power up the low pass filter?bit flpd controls the power up state of the low pass filter stage. this is bit d1 of cfg1 and it must be set to zero to power up the low pass filter stage. 6. select the 6.4 khz sample rate? bits fld0 and fld1 select the low pass filter setting and sample rate to be used during record and playback. these are bits d2 and d3 of cfg1. to enable the 6.4 khz sample rate, d2 must be set to one and d3 set to zero. 7. select the low pass filter input (only) to the s2 summing amplifier? bits s2m0 and s2m1 control the state of the sum2 summing amplifier. these are bits d5 and d6, respectively, of cfg1 and they should be set to the state where d5 is zero and d6 is one to select the low pass filter (only) path. the configuration settings in the call record mode are: cfg0=0100 0100 0000 1011 (hex 440b). cfg1=0000 0000 1100 0101 (hex 00c5). cfg2=0000 0000 0100 0000 (hex 0040). memo record the memo record mode sets the chip up to record from the local microphone into the chip?s multilevel storage array. a connected cellular telephone or cordless phone chip set may remain powered down since they are not active in this mode. the path to be used is microphone input to agc amplifier, then through to the input source mux, to the sum1 summing amplifier. from there, the path goes through the filter mux, the low pass filter, the sum2 summing amplifier, then to the multilevel storage array. in this example, we will select the 5.3 khz sample rate. the rest of the chip may be powered down. 1. power up the agc amplifier bit agpd controls the power up state of the agc amplifier. this is bit d0 of cfg1 and must be set to zero to power up this stage. 2. select the agc amplifier through the input source mux ?bit ins0 controls the state of the input source mux. this is bit d9 of cfg0 and must be set to a zero to select the agc am- plifier.
i5216 series advanced information preliminary publication release date: november 30, 2001 - 32 revision a1 3. select the input source mux (only) to the s1 summing amplifier? bits s1m0 and s1m1 control the state of the sum1 summing amplifier. these are bits d7 and d8, respectively, of cfg1 and they should be set to the state where d7 is zero and d8 is one to select the input source mux (only) path. 4. select the sum1 summing amplifier path through the filter mux? bit fls0 controls the state of the filter mux. this is bit d4 of cfg1 and it must be set to zero to select the sum1 summing amplifier path. 5. deselect the signal compression -bit amt0 controls the signal compression. this is bit d7 of cfg0 and it must be set to zero. 6. power up the low pass filter? bit flpd controls the power up state of the low pass filter stage. this is bit d1 of cfg1 and it must be set to zero to power up the low pass filter stage. 7. select the 5.3 khz sample rate ?bits fld0 and fld1 select the low pass filter setting and sample rate to be used during record and playback. these are bits d2 and d3 of cfg1. to enable the 5.3 khz sample rate, d2 must be set to zero and d3 set to one. 8. select the low pass filter input (only) to the s2 summing amplifier ? bits s2m0 and s2m1 control the state of the sum2 summing amplifier. these are bits d5 and d6, respectively, of cfg1 and they should be set to the state where d5 is zero and d6 is one to select the low pass filter (only) path. 9. power up the internal oscillator? bit ospd controls the power up state of the internal oscillator. this is bit d8 of cfg0 and it must be set to zero to power up the internal oscillator. to set up the chip for memo record, the configuration registers are set up as follows: cfg0=0000 0100 0000 0001 (hex 0401). cfg1=0000 0001 0100 1000 (hex 0148). cfg2=0000 0000 0000 0011 (hex 0003). only those portions necessary for this mode are powered up. memo and call playback this mode sets the chip up for local playback of messages that were recorded earlier. the playback path is from the multilevel storage array to the filter mux, then to the low pass filter stage. from there, the audio path goes through the sum2 summing amplifier to the volume mux, through the volume control then to the speaker output stage. we will assume that we are driving a piezo speaker element and that this audio was previously recorded at 8 khz. all unnecessary stages will be powered down. 1. select the multilevel storage array path through the filter mux? bit fls0, the state of the filter mux. this is bit d4 of cfg1 and must be set to one to select the multilevel storage array.
i5216 series advanced information preliminary publication release date: november 30, 2001 - 33 revision a1 2. power up the low pass filter? bit flpd controls the power up state of the low pass filter stage. this is bit d1 of cfg1 and it must be set to zero to power up the low pass filter stage. 3. select the 8.0 khz sample rate ?bits fld0 and fld1 select the low pass filter setting and sample rate to be used during record and playback. these are bits d2 and d3 of cfg1. to enable the 8.0 khz sample rate, d2 and d3 must be set to zero. 4. select the low pass filter input (only) to the s2 summing amplifier ?bits s2m0 and s2m1 control the state of the sum2 summing amplifier. these are bits d5 and d6, respectively, of cfg1 and they should be set to the state where d5 is zero and d6 is one to select the low pass filter (only) path. 5. select the sum2 summing amplifier path through the volume mux? bits vls0 and vls1 control the volume mux stage. these bits are d14 and d15, respectively, of cfg1. they should be set to the state where d14 is one and d15 is zero to select the sum2 summing amplifier. 6. power up the volume control level? bit vlpd controls the power-up state of the volume control attenuator. this is bit d0 of cfg0. this bit must be set to a zero to power-up the volume control. 7. select a volume control level? bits vol0, vol1 and vol2 control the state of the vol- ume control level. these are bits d11, d12, and d13, respectively, of cfg1. a binary count of 000 through 111 controls the amount of attenuation through that stage. in most cases, the software will select an attenuation level according to the desires of the product user. in this example, we will assume the user wants an attenuation of ?12 db. for that setting, d11 should be set to one, d12 should be set to one, and d13 should be set to a zero. 8. select the volume control path through the output mux? these are bits d3 and d4, respectively, of cfg0. they should be set to the state where d3 is zero and d4 is a zero to select the volume control. 9. power up the speaker amplifier and select the high gain mode? bits opa0 and opa1 control the state of the speaker (sp+ and sp?) and aux out outputs. these are bits d1 and d2 of cfg0. they must be set to the state where d1 is one and d2 is zero to power-up the speaker outputs in the high gain mode and to power-down the aux out. 10. power up the internal oscillator? bit ospd controls the power up state of the internal oscillator. this is bit d8 of cfg0 and it must be set to zero to power up the internal oscillator. to set up the chip for memo or call playback, the configuration registers are set up as follows: cfg0=0010 0100 0010 0010 (hex 2422). cfg1=0101 1001 1101 0001 (hex 59d1). cfg2=0000 0000 0000 0011 (hex 0003). only those portions necessary for this mode are powered up.
i5216 series advanced information preliminary publication release date: november 30, 2001 - 34 revision a1 message cueing message cueing allows the user to skip through messages, without having to know the actual physical location of each message. this operation is used during playback. in this mode, the messages are skipped 512 times faster than in normal playback mode. this operation will stop when an eom marker is reached. then, the internal address counter will be pointing to the next message. analog mode aux in description the aux in is an additional audio input to the winbond i5216, such as from the microphone circuit in a mobile phone ?car kit.? this input has a nominal 700 mv p-p level at its minimum gain setting (0 db). (see aux in amplifier gain settings table on page 50.) additional gain is available in 3 db steps (controlled by the i 2 c serial interface) up to 9 db. aux in input amplifier aux in input c coup =0.1 internal to the device n ote: f cutoff = 2 rac coup 1
i5216 series advanced information preliminary publication release date: november 30, 2001 - 35 revision a1 i5216 analog structure (left half) description inso source 0 agc amp 1 aux in amp cig2 cig1 cig0 axg1 axg0 axpd ins0 ospd amt0 cdi1 cdi0 ops1 ops0 opa1 opa0 vlpd cfg0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 vls1 vls0 vol2 vol1 vol0 s1s1 s1s0 s1m1 s1m0 s2m1 s2m0 fls0 fld1 fld0 flpd agpd cfg1 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 x x x ckd2 cog2 cog1 cog0 ckdv mute hpf0 hsr0 i2s0 law1 law0 dapd adpd cfg2 s1m1 s1m0 source 0 0 both 0 1 sum1 mux only 1 0 inp only 1 1 power down s1s1 s1s0 source 0 0 dac out (dao) 0 1 array 1 0 filto 1 1 n?c su m1 mu x input source mux sum1 summing amp agc amp aux in filto sum1 array inp sum1 mux 2 ( ) s1s 0 s1s 1 2 ( ) s1m0 s1m1 (ins0) 1 dac out inp su m1 mu x input source mux sum1 summing amp agc amp aux in filto sum1 array inp sum1 mux 2 ( ) s1s 0 s1s 1 2 ( ) s1m0 s1m1 (ins0) 1 dac out inp
i5216 series advanced information preliminary publication release date: november 30, 2001 - 36 revision a1 i5216 analog structure (right half) description s2m1 s2m0 source 0 0 both 0 1 aux in only 1 0 filto only 1 1 power down fld1 fld0 sample rate filter pass band 0 0 8 khz 3.7 khz 0 1 6.4 khz 2.9 khz 1 0 5.3 khz 2.5 khz 1 1 4.0 khz 1.8 khz ospd condition ckd2 condition ckdv condition 0 power up internal oscillator 0 divide master clock frequency by 1 0 divide master clock frequency by 1728 1 power down internal oscillator 1 divide master clock frequency by 2 1 divide master clock frequency by 2560 cig2 cig1 cig0 axg1 axg0 axpd ins0 ospd amt0 cdi1 cdi0 ops1 ops0 opa1 opa0 vlpd cfg0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 vls1 vls0 vol2 vol1 vol0 s1s1 s1s0 s1m1 s1m0 s2m1 s2m0 fls0 fld1 fld0 flpd agpd cfg1 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 x x x ckd2 cog2 cog1 cog0 ckdv mute hpf0 hsr0 i2s0 law1 law0 dapd adpd cfg2 fls0 source amt0 signal output 0 sum1 0 uncompressed 1 array 1 compressed flpd condition 0 power up 1 power down
i5216 series advanced information preliminary publication release date: november 30, 2001 - 37 revision a1 auto mute and auto gain functions during playback, the signal passes through the automatic attenuator before it is filtered. the automatic attenuator will attenuate all signals at the noise level in order to reduce the noise during quiet pauses. during record, low level input signals are brought up by the auto gain function if the configuration bit d7 of cfg0 (amt0) is set. this improves the signal to noise ratio of recorded low level input signals. if the configuration bit cfg0<7> (amt0) is set to zero, all input levels are recorded with the same gain setting. the attack and release time of the auto gain and auto mute functions is set by the capacitor on the acap pin. the agc cannot be used if the auto gain or auto mute function is enabled. tattack 0,1504 x vpeak trelease 6.58 x vpeak @ cattcap=4.7 f vpp gain (db) 0 0 -12 vpp gain (db) 0 0 12 expa nd co mpre ss vpp gain (db) 0 0 -12 vpp gain (db) 0 0 12 expa nd co mpre ss
i5216 series advanced information preliminary publication release date: november 30, 2001 - 38 revision a1 volume control description 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 cig2 cig1 cig0 axg1 axg0 axpd ins0 ospd amt0 cdi1 cdi0 ops1 ops0 opa1 opa0 vlpd cfg0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 vls1 vls0 vol2 vol1 vol0 s1s1 s1s0 s1m1 s1m0 s2m1 s2m0 fls0 fld1 fld0 flpd agpd cfg1 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 x x x ckd2 cog2 cog1 cog0 ckdv mute hpf0 hsr0 i2s0 law1 law0 dapd adpd cfg2 vlpd condition 0 power up 1 power down vls1 vls0 source 0 0 dac out 0 1 sum2 1 0 sum1 1 1 inp vol2 vol1 vol0 attenuation 0 0 0 0 db 0 0 1 4 db 0 1 0 8 db 0 1 1 12 db 1 0 0 16 db 1 0 1 20 db 1 1 0 24 db 1 1 1 28 db
i5216 series advanced information preliminary publication release date: november 30, 2001 - 39 revision a1 speaker and aux out description 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 cig2 cig1 cig0 axg1 axg0 axpd ins0 ospd amt0 cdi1 cdi0 ops1 ops0 opa1 opa0 vlpd cfg0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 vls1 vls0 vol2 vol1 vol0 s1s1 s1s0 s1m1 s1m0 s2m1 s2m0 fls0 fld1 fld0 flpd agpd cfg1 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 x x x ckd2 cog2 cog1 cog0 ckdv mute hpf0 hsr0 i2s0 law1 law0 dapd adpd cfg2 ops1 ops0 source 0 0 vol 0 1 dac out 1 0 filto 1 1 sum2 opa1 opa0 spkr drive aux out 0 0 power down power down 0 1 3.6 v p-p @ 150 ? power down 1 0 23.5 mwatt @ 8 ? power down 1 1 power down 1 v p-p max @ 5 k ?
i5216 series advanced information preliminary publication release date: november 30, 2001 - 40 revision a1 microphone inputs the microphone inputs transfer the voice signal to the on-chip agc preamplifier, or directly to the codec input mux, depending on the selected path. the agc circuit has a range of 45 db in order to deliver a nominal 694 mv p-p into the storage array from a typical electret microphone output of 2 to 20 mv p-p. the input impedance is typically 10k ? . the micbs pin provides a 2.2v bias voltage for the external microphone only when the agc is powered up. using this regulated bias voltage results in less supply noise coupling into the mic+ and mic- pins compared to the situation in which the external microphone is powered up through the power supply. it also saves current during power down. the acap pin provides the capacitor connection for setting the parameters of the microphone agc circuit. it should have a 4.7 f capacitor connected to ground. it cannot be left floating. this is because the capacitor is also used in the playback mode for the automute circuit or when signal compression is chosen (amt0 set). the automute circuit reduces the amount of noise present in the output during quiet pauses. tying the acap pin to ground gives maximum gain. tying it to vcca gives minimum gain for the agc amplifier, but cancels the automute function. cdi1 cdi0 codec adc input 0 0 inp 0 1 sum2 1 0 mic 1 1 no input 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 cig2 cig1 cig0 axg1 axg0 axpd ins0 ospd amt0 cdi1 cdi0 ops1 ops0 opa1 opa0 vlpd cfg0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 vls1 vls0 vol2 vol1 vol0 s1s1 s1s0 s1m1 s1m0 s2m1 s2m0 fls0 fld1 fld0 flpd agpd cfg1 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 x x x ckd2 cog2 cog1 cog0 ckdv mute hpf0 hsr0 i2s0 law1 law0 dapd adpd cfg2 agpd condition 0 power up 1 power down mic in a gc mic+ mic - agccap microphone mic in 1 ( agpd ) 2.2v voltage reference micbs cdi0 ( 2 cdi1 1 ( agpd ) codec input mux in p in p+ su m2 su m2 + codec adc in a gc mic+ mic - agccap microphone mic in 1 1 ( agpd ) 2.2v voltage reference micbs cdi0 ( 2 cdi1 1 1 ( agpd ) codec input mux in p in p+ su m2 su m2 + su m2 su m2 +
i5216 series advanced information preliminary publication release date: november 30, 2001 - 41 revision a1 digital mode in the digital mode, it is important to understand that each group of digital operations must be preceded by the digital mode command (0xc0) and followed by the exit digital mode command (0x40). no delay is required after these commands. note that after any of these operations is completed, the device is powered down. therefore, it will be required to issue the normal power-up command (0x80h) with a power-up delay (tpud) before any analog operations can be performed following digital commands. writing data the digital write function allows the user to select a portion of the array to be used as digital memory. the partition between analog and digital memory is left up to the user. a page can only be either digital or analog, but not both. the minimum addressable block of memory in the digital mode is 1 block, or 64 bits, when reading or writing. the address sent to the device is the 11-bit row (or page) address with the 5-bit scan (or block) address. however, one must send a digital erase before attempting to change digital data on a page. this means that even when changing only one of the 32 blocks, all 32 will need to be rewritten to the page. after the address is entered, the data is sent in one-byte packets followed by an i 2 c acknowledge generated by the chip. data for each block is sent msb first. the data transfer is ended when the master generates an i 2 c stop condition. if only a partial block of data is sent before the stop condition, zero is ?written? in the remaining bytes; that is, they are left at the erase level. an erased page (row) will be read as all zeros. the device can buffer up to two blocks of data. if the device is unable to accept more data due to the internal write process, the scl line will be held low indicating, to the master, to halt data transfer. if the device encounters an overflow condition, it will respond by generating an interrupt condition and an i 2 c not acknowledge signal after the last valid byte of data. once data transfer is terminated, the device needs up to two cycles (64 us) to complete its internal write cycle before another command is sent. if an active command is sent before the internal cycle is finished, the i5216 will hold scl low until the current command is finished. reading data the digital read command utilizes the combined i 2 c command format. that is, a command is sent to the chip using the write data direction. then the data direction is reversed by sending a repeated start condition and the slave address with r/w set to one. after this, the slave device (i5216) begins to send data to the master until the master generates a not acknowledge. if the part encounters an overflow condition, the int pin is pulled low. no other communication with the master is possible due to the master generating ack signals. as with digital write, digital read can be done a ?block? at a time. thus, only 64 bits need to be read in each digital read command sequence. erasing data the digital erase command can only erase an entire page at a time. this means that the d0 or d1 command only needs to include the 11-bit page address; the 5-bit for block address are left at 00000. once a page has been erased, each block may be written separately, 64 bits at a time. but, if a block has been previously written, then the entire page of 2048 bits must be erased in order to re-write (or change) a block.
i5216 series advanced information preliminary publication release date: november 30, 2001 - 42 revision a1 a sequence might look like: - read the entire page - store it in ram - change the desired bit(s) - erase the page - write the new data from ram to the entire page example command sequences graphical representations of these operations follow each description. write digital data: a single byte may be written to the command byte register in order to power up the device, start or stop analog record (if no address information is needed), or do a message cueing function. for the normal digital addressed mode, the registers are loaded as follows: 1. host executes i 2 c start. 2. send slave address with r/w bit = ?0? (write). 3. slave responds back with an ack. 4. wait for scl high. 5. send digital mode command ? 0x80h, 0xc0h 6. slave responds with an ack. 7. wait for scl high. 8. send slave address command ? 0x80h 9. slave responds with an ack. 10. wait for scl high. 11. host sends a byte to slave - (command byte = 00c9h). 12. slave responds with an ack. 13. wait for scl high. 14. host sends a byte to slave - (high address byte). 15. slave responds with an ack. 16. wait for scl high. 17. host sends a byte to slave - (low address byte). 18. slave responds with an ack 19. wait for scl high. 20. host sends a byte to slave - (first 8 bits of digital information). 21. slave responds with an ack. 22. wait for scl high. 23. steps 19, 20 and 21 are repeated until last byte is sent and acknowledged. 24. send exit digital mode command ? 0x80h, 0x40hhost executes i 2 c stop. s slave a ddress a p w command c9h a dat a a dat a a hi g h addr. low addr.
i5216 series advanced information preliminary publication release date: november 30, 2001 - 43 revision a1 read digital data : for a normal digital read, the registers are loaded as follows: 1. host executes i 2 c start. 2. send slave address with r/w bit = ?0? (write). 3. slave responds back with an ack. 4. wait for scl high. 5. send digital mode command ? 0x80h, 0xc9h 6. slave responds with an ack. 7. wait for scl high 8. host sends a byte to slave - (command byte = e1). 9. slave responds with an ack. 10. wait for scl high. 11. host sends a byte to slave - (high address byte). 12. slave responds with an ack. 13. wait for scl high. 14. host sends a byte to slave - (low address byte). 15. slave responds with an ack. 16. wait for scl high. 17. host sends repeat start. 18. host sends slave address with r/w bit = 1 (reverses data direction). 19. slave responds with an ack. 20. wait for scl high. 21. slave sends a byte to host - (first 8 bits of digital information). 22. host responds with an ack. 23. wait for scl high. 24. steps 20, 21 and 22 are repeated until last byte is sent and a no ack is returned. 25. host sends slave address with r/w bit = 0 (reverses data direction) 26. slave responds with an ack. 27. wait for scl high. 28. host sends exit digital mode command. ? 0x40 29. slave responds with an ack. 30. wait for scl high 31. host executes i 2 c stop. s slave address a p w command e1 a dat a n dat a a hi g h addr. low addr.
i5216 series advanced information preliminary publication release date: november 30, 2001 - 44 revision a1 erase digital data : to erase digital information the following is done: 1. host executes i 2 c start. 2. send slave address with r/w bit = ?0? (write). 3. slave responds back with an ack. 4. wait for scl high. 5. send digital mode command ? 0x80h, 0xc0h 6. slave responds with an ack. 7. wait for scl high. 8. send slave address command ? 0x80h 9. slave responds with an ack. 10. wait for scl high. 11. host sends a digital erase command to slave - (command byte = 0xd1h). 12. slave responds with an ack. 13. wait for scl high. 14. host sends a byte to slave - (high address byte = 0000h). 15. slave responds with an ack. 16. wait for scl high. 17. host sends a byte to slave - (low address byte = 0xa0h). erase row 5 in this example. 18. slave responds with an ack 19. wait for scl high. 20. host executes i 2 c stop. 21. host waits for rac\ to go low and then back high. 22. host executes i 2 c start. 23. send exit digital mode command ? 0x80h, 0x40h 24. slave responds with an ack. 25. wait for scl high 26. host executes i 2 c stop. a s slave address w command byte d1h a data a data a high addr. byte low addr. byte a s slave address w p command byte 80h erase starts on falling edge of slave acknowledge note 2 "n" rac cycles note 3. last erased row note 4. a p
i5216 series advanced information preliminary publication release date: november 30, 2001 - 45 revision a1 notes: 1. erase operations must be addressed on a row boundary. the 5 lsb bits of the low address byte will be ignored. 2. i 2 c bus is released while erase proceeds. other devices may use the bus until it is time to execute the stop command that causes the end of the erase operation. 3. host processor must count rac cycles to determine where the chip is in the erase process, one row per rac cycle. rac pulses low for 0.25 microsecond at the end of each erased row. the erase of the ?next? row begins with the rising edge of rac. see the digital erase rac timing diagram on page 46. 4. when the erase of the last desired row begins, the following stop command (command byte = 80 hex) must be issued. this command must be completely given, including receiving the ack from the slave before the rac pin goes high .25 microseconds before the end of the row . pin details digital i/o pins: scl (serial clock line) the serial clock line is a bi-directional clock line. it is an open-drain line requiring a pull-up resistor to vcc. it is driven by the "master" chips in a system and controls the timing of the data exchanged over the serial data line. sda (serial data line) the serial data line carries the data between devices on the i 2 c interface. data must be valid on this line when the scl is high. state changes can only take place when the scl is low. this is a bi- directional line requiring a pull-up resistor to vcc. rac (row address clock) rac is an open drain output pin that normally marks the end of a row. at the 8 khz sample frequency the duration of this period is 256 ms. there are 1888 pages of memory in the winbond i5216 device. rac stays high for 248 ms and goes low for the remaining 8 ms before it reaches the end of the page. 1 row rac waveform during 8 khz operation 256 msec t rac 8 msec t raclo
i5216 series advanced information preliminary publication release date: november 30, 2001 - 46 revision a1 the rac pin remains high for 500 sec and stays low for 15.6 sec under the message cueing mode. see the timing parameters table on page 55 for rac timing information at other sample rates. when a record command is first initiated, the rac pin remains high for an extra t raclo period in order to load sample and hold circuits internal to the device. the rac pin can be used for message management techniques. 1 row rac waveform during message cueing 500 usec t rac 15.6 us t raclo rac waveform during digital erase int (interrupt) int is an open drain output pin. the winbond i5216 interrupt pin goes low and stays low when an overflow (ovf) or end of message (eom) marker is detected. each operation that ends in an eom or ovf generates an interrupt, including the message cueing cycles. the interrupt is cleared by a read status instruction that gives a status byte out the sda line. mclk (master clock input) the master clock input for the winbond i5216 product has an internal pull-down device. normally, the winbond i5216 chipcorder section is operated at one of four internal rates selected for its internal oscillator by the sample rate select bits. if the internal oscillator is powered down (configuration bit ospd set to one), the device is clocked through the mclk pin as shown in the section i5216 analog structure (right half) description on page 36. . 25 sec 1 . 25 sec
i5216 series advanced information preliminary publication release date: november 30, 2001 - 47 revision a1 master clock input table for chipcorder section f mclk fld1 fld0 ckd2 ckdv sample rate filter knee 13.824 mhz 0 0 0 0 8.0 khz 3.7 khz 20.48 mhz 0 0 0 1 8.0 khz 3.7 khz 27.648 mhz 0 0 1 0 8.0 khz 3.7 khz 40.96 mhz 0 0 1 1 8.0 khz 3.7 khz 13.824 mhz 0 1 0 0 6.4 khz 2.9 khz 20.48 mhz 0 1 0 1 6.4 khz 2.9 khz 27.648 mhz 0 1 1 0 6.4 khz 2.9 khz 40.96 mhz 0 1 1 1 6.4 khz 2.9 khz 13.824 mhz 1 0 0 0 5.3 khz 2.5 khz 20.48 mhz 1 0 0 1 5.3 khz 2.5 khz 27.648 mhz 1 0 1 0 5.3 khz 2.5 khz 40.96 mhz 1 0 1 1 5.3 khz 2.5 khz 13.824 mhz 1 1 0 0 4.0 khz 1.8 khz 20.48 mhz 1 1 0 1 4.0 khz 1.8 khz 27.648 mhz 1 1 1 0 4.0 khz 1.8 khz 40.96 mhz 1 1 1 1 4.0 khz 1.8 khz because the anti-aliasing and smoothing filters track the sample rate select bits, one must, for optimum performance, maintain the external clock at one of the four possible frequencies shown in the table for analog structure (right half) description on page 36 and set the sample rate configuration bits to one of the four values in order to properly set the filters to their correct cutoff frequency as described in analog structure (right half) description on page 36. the duty cycle on the input clock is not critical when ckd2 is set to one, as the clock is immediately divided by two (internally). if the mclk is not used, this input should be connected to v ssd . a0, a1 (address pins) these two pins are normally strapped for the desired address that the winbond i5216 will have on the i 2 c serial interface. if there are four of these devices on the bus, then each must be strapped differently in order to allow the master device to address them individually. the possible addresses range from 80h to 87h, depending upon whether the device is being written to, or read from, by the host. the winbond i5216 has a 7-bit slave address of which only a0 and a1 are pin programmable. the eighth bit (lsb) is the r/w bit. thus, the address will be 1000 0xy0 or 1000 0xy1
i5216 series advanced information preliminary publication release date: november 30, 2001 - 48 revision a1 analog i/o pins mic+, mic- (microphone input +/-) the microphone input transfers the voice signal to the on-chip agc preamplifier or directly to the codec a/d input mux, depending on the selected path. the agc circuit has a range of 45 db in order to deliver a nominal 694 mv p-p into the storage array from a typical electric microphone output of 2 to 20 mv p-p. the input impedance is typically 20 k ? ? differential and 13.3 k ?? differential when the codec input mux micin path is selected. microphone input agc mic+ mic - agccap mic in 1 (agpd) 2.2v voltage reference micbs 2 1 codec input mux inp- inp+ sum2- sum2+ codec adc in 1.5k ? 1.5k ? electret microphone wm-54b panasonic ra=10k ? rc=40k ? ( ) cdi1 cdi0 (agpd) . 1 f . 1 f 4.7 f acap (agc capacitor) this pin provides the capacitor connection for setting the parameters of the microphone agc circuit. it should have a 4.7 f capacitor connected to ground. it cannot be left floating. this is because the capacitor is also used in the playback mode for the automute circuit or when signal compression is chosen (amt0 is set to one). this circuit reduces the amount of noise present in the output during quiet pauses. tying this pin to ground gives maximum gain. tying it to v cca gives minimum gain for the agc amplifier, but cancels the automute function. couple db c r a f ? ? ? = ? 2 1 3
i5216 series advanced information preliminary publication release date: november 30, 2001 - 49 revision a1 sp +, sp- (speaker +/-) this is the speaker differential output circuit. it is designed to drive an 8 ? speaker connected across the speaker pins, up to a maximum of 23.5 mw rms power. this stage has two selectable gains, 1.32 and 1.6, which can be chosen through the configuration registers. these pins are biased to ap- proximately 1.2 vdc and, if used single-ended, must be capacitively coupled to their load. do not ground the unused pin. aux out (auxiliary output) the aux out is an additional audio output pin to be used, for example, to drive the speaker circuit in a ?car kit.? it drives a minimum load of 5 k ? and up to a maximum of 1 v p-p. the ac signal is superimposed on approximately 1.2 vdc bias and must be capacitively coupled to the load. 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 cig2 cig1 cig0 axg1 axg0 axpd ins0 ospd amt0 cdi1 cdi0 ops1 ops0 opa1 opa0 vlpd cfg0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 vls1 vls0 vol2 vol1 vol0 s1s1 s1s0 s1m1 s1m0 s2m1 s2m0 fls0 fld1 fld0 flpd agpd cfg1 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 x x x ckd2 cog2 cog1 cog0 ckdv mute hpf0 hsr0 i2s0 law1 law0 dapd adpd cfg2 ops1 ops0 source 0 0 vol 0 1 dac out 1 0 filto 1 1 sum2 opa1 opa0 spkr drive aux out 0 0 power down power down 0 1 3.6 v p-p @ 150 ? power down 1 0 23.5 mwatt @ 8 ? power down 1 1 power down 1 v p-p max @ 5 k ?
i5216 series advanced information preliminary publication release date: november 30, 2001 - 50 revision a1 aux in (auxiliary input) the aux in is an additional audio input to the winbond i5216, such as from the microphone circuit in a mobile phone ?car kit.? this input has a nominal 694 mv p-p level at its minimum gain setting (0 db). (see aux in amplifier gain settings table below). additional gain is available in 3 db steps (controlled by the i 2 c interface) up to 9 db. aux in input modes aux in amplifier gain settings cfg0 0tlp input v p-p (2) axg1 axg0 gain (1) array in/out v p-p speaker out v p-p (3) 0.694 0 0 1.00 0.694 0.694 0.491 0 1 1.41 0.694 0.694 0.347 1 0 2.00 0.694 0.694 0.245 1 1 2.82 0.694 0.694 1. gain from aux in to array in 2. 0tlp input is the reference transmission level point that is used for testing. this level is typically 3 db below clipping 3. differential gain setting resistor ratio (rb/ra) gain gain (1) (db) 00 40.1 / 40.1 1.0 0 01 47.0 / 33.2 1.414 3 10 53.5 / 26.7 2.0 6 11 59.2 / 21 2.82 9 axpd condition 0 power up 1 power down internal to the device rb a ux in input a ux in input amplifier
i5216 series advanced information preliminary publication release date: november 30, 2001 - 51 - revision a1 power and ground pins v cca , v ccd (voltage inputs) to minimize noise, the analog and digital circuits in the winbond i5216 device use separate power busses. these +3 v busses lead to separate pins. tie the v ccd pins together as close as possible, and decouple both supplies as near to the package as possible. v ssa , v ssd (ground inputs) the winbond i5216 series utilizes separate analog and digital ground busses. the analog ground (v ssa ) pins should be tied together as close to the package as possible, and connected through a low- impedance path to power supply ground. the digital ground (v ssd ) pin should be connected through a separate low impedance path to power supply ground. these ground paths should be large enough to ensure that the impedance between the v ssa pins and the v ssd pin is less than 3 ? . the backside of the die is connected to v ssd through the substrate resistance. in a chip-on-board design, the die attach area must be connected to v ssd . nc (no connect) these pins should not be connected to the board at any time. connection of these pins to any signal, ground or v cc, may result in incorrect device behavior or cause damage to the device.
i5216 series advanced information preliminary publication release date: november 30, 2001 - 52 revision a1 sample pc layout for pdip the pdip package is illustrated from the top. pc board traces and the three chip capacitors are on the bottom side of the board. 1 c1 c2 c3 n ote 1 n ote 2 v c c d mclk v ssa c1=c2=c3=0.1 uf chip capacitors to v cca analog ground n ote 3 v s s d n ote 3 (digital ground) n ote 1: v ssd traces s hould be kept separated back to the v ss supply feed point. n ote 2: v ccd traces s hould be kept separated back to the v cc supply feed point. n ote 3: the digital and analog grounds tie together at the power supply. the v cca and v ccd supplies will also need filter capacitors ( typ . 50 to 100 uf ). 1 c1 c2 c3 n ote 1 n ote 2 v c c d mclk v ssa c1=c2=c3=0.1 uf chip capacitors to v cca analog ground n ote 3 v s s d n ote 1: v ssd traces s hould be kept separated back to the v ss supply feed point. n ote 2: v ccd traces s hould be kept separated back to the v cc supply feed point. n ote 3: the digital and analog grounds tie together at the power supply. the v cca and v ccd supplies will also need filter capacitors ( typ . 50 to 100 uf ).
i5216 series advanced information preliminary publication release date: november 30, 2001 - 53 revision a1 electrical characteristics absolute maximum ratings (packaged parts) (1) condition value junction temperature 150 0 c storage temperature range -65 0 c to +150 0 c voltage applied to any pin (v ss - 0.3v) to (v cc + 0.3v) voltage applied to any pin (input current limited to +/-20 ma) (v ss ? 1.0v) to (v cc + 1.0v) lead temperature (soldering ? 10 seconds) 300 0 c v cc - v ss -0.3v to +5.5v 1. stresses above those listed may cause permanent damage to the device. exposure to the absolute maximum ratings may affect device reliability. functional operation is not implied at these conditions. absolute maximum ratings (die) (1) condition value junction temperature 150 0 c storage temperature range -65 0 c to +150 0 c voltage applied to any pad (v ss - 0.3v) to (v cc + 0.3v) v cc - v ss -0.3v to +5.5v 1. stresses above those listed may cause permanent damage to the device. exposure to the absolute maximum ratings may affect device reliability. functional operation is not implied at these conditions. operating conditions (packaged parts) condition value commercial operating temperature range (1) 0 0 c to +70 0 c extended operating temperature (1) -20 0 c to +70 0 c industrial operating temperature (1) -40 0 c to +85 0 c supply voltage (v cc ) (2) +2.7v to +3.3v ground voltage (v ss ) (3) 0v 1. case temperature 2. v cc = v cca = v ccd 3. v ss = v ssa = v ssd
i5216 series advanced information preliminary publication release date: november 30, 2001 - 54 revision a1 operating conditions (die) condition value die operating temperature range (1) 0 0 c to +50 0 c supply voltage (v cc ) (2) +2.7v to +3.3v ground voltage (v ss ) (3) 0v 1. case temperature 2. v cc = v cca = v ccd 3. v ss = v ssa = v ssd general parameters symbol parameters min (2) typ (1) max (2) units conditions v il input low voltage v cc x 0.2 v v ih input high voltage v cc x 0.8 v v ol scl, sda, sdio output low voltage 0.4 v i ol = 3 ma v ol1 rac, int output low voltage 0.4 v i ol = 1 ma v oh output high voltage v cc ? 0.4 v i ol = -10 a i cc v cc current (operating) - playback & a/d + d/a - record & a/d + d/a - codec a/d + d/a 30 36 20 50 56 30 ma ma ma no load (3) no load (3) no load (3) i sb v cc current (standby) 1 10 a (3) i il input leakage current +/-1 a 1. typical values: t a = 25c and vcc = 3.0 v. 2. all min/max limits are guaranteed by winbond via electrical testing or characterization. not all specifications are 100 percent tested. 3. v cca and v ccd summed together.
i5216 series advanced information preliminary publication release date: november 30, 2001 - 55 revision a1 timing parameters symbol parameters min (2) typ (1) max (2) units conditions f s sampling frequency 8.0 6.4 5.3 4.0 khz khz khz khz (5) (5) (5) (5) f cf filter knee 8.0 khz (sample rate) 6.4 khz (sample rate) 5.3 khz (sample rate) 4.0 khz (sample rate) 3.7 2.9 2.5 1.8 khz khz khz khz knee point (3)(7) knee point (3)(7) knee point (3)(7) knee point (3)(7) t rec record duration 8.0 khz (sample rate) 6.4 khz (sample rate) 5.3 khz (sample rate) 4.0 khz (sample rate) 8.05 10.06 12.15 16.1 min min min min (6) (6) (6) (6) t play playback duration 8.0 khz (sample rate) 6.4 khz (sample rate) 5.3 khz (sample rate) 4.0 khz (sample rate) 8.05 10.06 12.15 16.1 min min min min (6) (6) (6) (6) t pud power-up delay 8.0 khz (sample rate) 6.4 khz (sample rate) 5.3 khz (sample rate) 4.0 khz (sample rate) 1 1 1 1 msec msec msec msec t stop or pause stop or pause record or play 8.0 khz (sample rate) 6.4 khz (sample rate) 5.3 khz (sample rate) 4.0 khz (sample rate) 32 40 48 64 msec msec msec msec
i5216 series advanced information preliminary publication release date: november 30, 2001 - 56 revision a1 timing parameters (cont?d) symbol parameters min (2) typ (1) max (2) units conditions t rac rac clock period 8.0 khz (sample rate) 6.4 khz (sample rate) 5.3 khz (sample rate) 4.0 khz (sample rate) 256 320 386 512 msec msec msec msec (9) (9) (9) (9) t raclo rac clock low time 8.0 khz (sample rate) 6.4 khz (sample rate) 5.3 khz (sample rate) 4.0 khz (sample rate) 8 10 12.1 16 msec msec msec msec t racm rac clock period in message cueing mode 8.0 khz (sample rate) 6.4 khz (sample rate) 5.3 khz (sample rate) 4.0 khz (sample rate) 500 625 750 1000 msec msec msec msec tracml rac clock low time in message cueing mode 8.0 khz (sample rate) 6.4 khz (sample rate) 5.3 khz (sample rate) 4.0 khz (sample rate) 15.6 19.5 23.4 31.2 msec msec msec msec thd total harmonic distortion aux in to array, array to spkr 1 1 2 2 % % @1 khz at 0tlp, sample rate = 5.3 khz
i5216 series advanced information preliminary publication release date: november 30, 2001 - 57 revision a1 analog parameters microphone input (14) symbol parameters min (2) typ ( 1)(14) max (2) units conditions v mic+/- mic +/- input voltage 300 mv peak-to-peak (4)(8) v mic (0tlp) mic +/- input reference transmission level point (0tlp) 208 mv peak-to-peak (4)(10) a mic (gt) mic +/- gain tracking +/-0.1 db 1 khz, +3 to ?40 db 0tlp input r mic microphone input resistance 10 k ? mic- and mic+ pins a agc microphone agc amplifier range 6 40 db over 3-300 mv range v micbs microphone bias voltage 2.2 v i micbs = 0.0 ma r micbs micbs output resistance 700 ? aux in (14) symbol parameters min (2) typ (1)(14) max (2) units conditions v aux in aux in input voltage 1.0 v peak-to-peak (0 db gain setting) v aux in (0tlp) aux in (0tlp) input voltage 694.2 mv peak-to-peak (0 db gain setting) a aux in (ga) aux in gain accuracy -0.5 +0.5 db (11) a aux in (gt) aux in gain tracking +/-0.1 db 1000 hz, +3 to ?45 db 0tlp input, 0 db setting r aux in aux in input resistance 10 to 100 k ? depending on aux in gain
i5216 series advanced information preliminary publication release date: november 30, 2001 - 58 revision a1 speaker outputs (14) symbol parameters min (2) typ (1)(14) max (2) units conditions v sphg sp+/- output voltage (high gain setting) 3.6 v peak-to-peak, differential load = 150 ? , opa1, opa0 = 01 r splg sp+/- output load imp. (low gain) 8 ? opa1, opa0 = 10 r sphg sp+/- output load imp. (high gain) 70 150 ? opa1, opa0 = 01 c sp sp+/- output load cap. 100 pf v spag sp+/- output bias voltage (analog ground) 1.2 vdc v spdco speaker output dc offset +/-100 mv dc with codec d/a in to speaker. psrr power supply rejection ratio -55 db measured with a 1 khz, 100 ma p sine wave input at v cc and v cc pins f r frequency response (300- 3400 hz) -0.25 +0.25 db with 0tlp input to aux in, 6 db setting (12) p outlg power output (low gain setting) 23.5 mw rms differential load at 8 ? aux out (14) symbol parameters min (2) typ (1)(14) max (2) units conditions v aux out aux out ? maximum output swing 1.0 v 5k ? load r l minimum load impedance 5 k ? c l maximum load capacitance 100 pf v bias aux out 1.2 vdc
i5216 series advanced information preliminary publication release date: november 30, 2001 - 59 revision a1 volume control (14) symbol parameters min (2) typ (1)(14) max (2) units conditions a out output gain -28 to 0 db 8 steps of 4 db, referenced to output absolute gain -0.5 +0.5 db aux in 1.0 khz 0tlp, 6 db gain setting measured differentially at sp+/- 1. typical values: t a = 25c and vcc = 3.0v. 2. all min/max limits are guaranteed by winbond via electrical testing or characterization. not all specifications are 100 percent tested. 3. low-frequency cut off depends upon the value of external capacitors (see pin descriptions). 4. differential input mode. nominal differential input is 208 mv p-p. (0tlp) 5. sampling frequency can vary as much as ?6/+4 percent over the industrial temperature and voltage ranges. for greater stability, an external clock can be utilized (see pin descriptions). 6. playback and record duration can vary as much as ?6/+4 percent over the industrial temperature and voltage ranges. for greater stability, an external clock can be utilized (see pin descriptions). 7. filter specification applies to the low pass filter. 8. for optimal signal quality, this maximum limit is recommended. 9. when a record command is sent, t rac = t rac + t raclo on the first page addressed. 10. the maximum signal level at any input is defined as 3.17 db higher than the reference transmission level point. (0tlp) this is the point where signal clipping may begin. 11. measured at 0tlp point for each gain setting. see aux in table . 12. 0tlp is the reference test level through inputs and outputs. see aux in table . 13. referenced to 0tlp input at 1 khz, measured over 300 to 3,400 hz bandwidth. 14. for die, only typical values are applicable.
i5216 series advanced information preliminary publication release date: november 30, 2001 - 60 revision a1 i 2 c interface timing standard-mode fast-mode parameter symbol min. max. min. max. unit scl clock frequency f scl 0 100 0 400 khz hold time (repeated) start condition. after this period, the first clock pulse is generated t hd; sta 4.0 - 0.6 - ns low period of the scl clock t low 4.7 - 1.3 - ns high period of the scl clock t high 4.0 - 0.6 - ns set-up time for a repeated start condition t su; sta 4.7 - 0.6 - ns data set-up time t su; dat 250 - 100 (1) - ns rise time of both sda and scl signals t r - 1000 20 + 0.1c b (2) 300 ns fall time of both sda and scl signals t f - 300 20 + 0.1c b (2) 300 ns set-up time for stop condition t su; sto 4.0 - 0.6 - ns bus-free time between a stop and start condition t buf 4.7 - 1.3 - ns capacitive load for each bus line c b - 400 - 400 pf noise margin at the low level for each connected device (including hysteresis) v nl 0.1 v dd - 0.1 v dd - v noise margin at the high level for each connected device (including hysteresis) v nh 0.2 v dd - 0.2 v dd - v 1. a fast-mode i 2 c-interface device can be used in a standard-mode i 2 c-interface system, but the requirement t su;dat > 250 ns must then be met. this will automatically be the case if the device does not stretch the low period of the scl signal. if such a device does stretch the low period of the scl signal, it must output the next data bit to the sda line; t r max + t su;dat = 1000 + 250 = 1250 ns (according to the standard-mode i 2 c -interface specification) before the scl line is released. 2. c b = total capacitance of one bus line in pf. if mixed with hs mode devices, faster fall-times are allowed.
i5216 series advanced information preliminary publication release date: november 30, 2001 - 61 revision a1 codec parameters the internal codec meets the specification of the itu-t g.714 recommendation in 8 khz sampling mode. this specification is verified, using the mic+/- and speaker+/- pins as analog input and output. the codec /a-law compander meets the specification of the itu-t g.711 /a-law companding recommendation symbol parameters min typ max units conditions l abs absolute level vrms 0 dbm0 = -2.5dbm @ 600 ? t xmax max. transmit level 2 vpp mic+/mic- differential f ch1 high pass filter cut-off frequency 300 hz @ws=8khz, mclk=13.824mhz f cl1 low pass filter cut-off frequency 3400 hz @ws=8khz, mclk=13.824mhz f cl2 low pass filter cut-off frequency 4686 5037 5100 hz @ ws=44.1khz ? 48khz, mclk=20.48mhz ? f mclk master clock frequency accuracy -500 0 +500 ppm d mclk master clock duty cycle 48 50 52 %
i5216 series advanced information preliminary publication release date: november 30, 2001 - 62 revision a1 timing diagrams i 2 c timing diagram playback and stop cycle sda scl aux in aux out data clock pulses stop play at addr t stop t start stop t low t sclk t high t f t r t su;dat t su;sto t f start sda scl stop
i5216 series advanced information preliminary publication release date: november 30, 2001 - 63 revision a1 example of power up command
i5216 series advanced information preliminary publication release date: november 30, 2001 - 64 revision a1 i 2 s timing diagrams
i5216 series advanced information preliminary publication release date: november 30, 2001 - 65 revision a1 i 2 s parameters (all values in nano seconds) transmitter receiver lower limit upper limit lower limit upper limit parameter min max min max min max min max notes bit clock period t 325 325 high time t hc 114 114 low time t lc 114 114 rise time t rc 49 delay t dtr 260 hold time t htr 100 set-up time t sr 65 hold time t hr 0 pcm timing diagrams
i5216 series advanced information preliminary publication release date: november 30, 2001 - 66 revision a1 pcm timing diagrams (cont?d)
i5216 series advanced information preliminary publication release date: november 30, 2001 - 67 revision a1 pcm timing diagrams (con?td)
i5216 series advanced information preliminary publication release date: november 30, 2001 - 68 revision a1 pcm parameters parameter symbol conditions min. typ. max. unit bit clock frequency 1/t sck sck 64 --- 3072 khz bit clock duty cycle d c sck --- 50 --- % word sync. frequency 1/t wsl ws @ low rate --- 8000 --- hertz word sync. frequency 1/t wsh ws @ high rate 44.1 --- 48 khz rise time t ir sck,sdi,sdio,ws --- --- 50 nsec fall time t if sck,sdi,sdio,ws --- --- 50 nsec hold time for 2 nd cycle of bit clock t hld sck low to ws low 50 --- --- nsec transmit sync. timing t xs t sx sck to ws ws to sck 20 100 --- --- --- --- nsec nsec receive sync. timing t rs t sr sck to ws ws to sck 20 100 --- --- --- --- nsec nsec setup time for sdi valid t stsdi --- 20 --- --- nsec hold time for sdi valid t hdsdi --- 50 --- --- nsec output delay time for sdio valid t dv sck to sdio 10 --- 120 nsec output delay time for sdio high impedance t dhi sck to sdio 10 --- 120 nsec
i5216 series advanced information preliminary publication release date: november 30, 2001 - 69 revision a1 i 2 c serial interface technical information characteristics of the i 2 c serial interface the i 2 c interface is for bi-directional, two-line communication between different ics or modules. the two lines are a serial data line (sda) and a serial clock line (scl). both lines must be connected to a positive supply via a pull-up resistor. data transfer may be initiated only when the interface bus is not busy. bit transfer one data bit is transferred during each clock pulse. the data on the sda line must remain stable during the high period of the clock pulse, as changes in the data line at this time will be interpreted as a control signal. start and stop conditions both data and clock lines remain high when the interface bus is not busy. a high-to-low transition of the data line while the clock is high is defined as the start condition (s). a low-to-high transition of the data line while the clock is high is defined as the stop condition (p) bit transfer on the i c-bus 2 data line stable; data valid change of data allowed sda scl definition of start and stop conditions handbook, full pagewidth mbc622 sda scl p stop condition sda scl s start condition
i5216 series advanced information preliminary publication release date: november 30, 2001 - 70 revision a1 system configuration a device generating a message is a ?transmitter?; a device receiving a message is the ?receiver?. the device that controls the message is the ?master? and the devices that are controlled by the master are the ?slaves?. acknowledge the number of data bytes transferred between the start and stop conditions from transmitter to receiver is unlimited. each byte of eight bits is followed by an acknowledge bit. the acknowledge bit is a high level signal put on the interface bus by the transmitter during which time the master generates an extra acknowledge related clock pulse. a slave receiver which is addressed must generate an acknowledge after the reception of each byte. in addition, a master receiver must generate an acknowledge after the reception of each byte that has been clocked out of the slave transmitter. the device that acknowledges must pull down the sda line during the acknowledge clock pulse so that the sda line is stable low during the high period of the acknowledge related clock pulse (set- up and hold times must be taken into consideration). a master receiver must signal an end of data to the transmitter by not generating an acknowledge on the last byte that has been clocked out of the slave. in this event, the transmitter must leave the data line high to enable the master to generate a stop condition. mbc645 sda scl micro - controller static ram or eeprom lcd driver gate array isd 5116 example of an i c-bus configuration using two microcontrollers 2 acknowledge on the i 2 c-bus mbc602 s start condition 9 8 2 1 clock pulse for acknowledgement not acknowledge acknowledge data output by transmitter data output by receiver scl from master data output by transmitter data output by receiver scl from master not acknowlwedge not acknowlwedge clock pulse for acknowledgement start condition acknowledge on the i 2 c-bus 7 2 8 9
i5216 series advanced information preliminary publication release date: november 30, 2001 - 71 revision a1 i 2 c protocol since the i 2 c protocol allows multiple devices on the bus, each device must have an address. this address is known as a ?slave address?. a slave address consists of 7 bits, followed by a single bit that indicates the direction of data flow. this single bit is 1 for a write cycle, which indicates the data is being sent from the current bus master to the device being addressed. this single bit is a 0 for a read cycle, which indicates that the data is being sent from the device being addressed to the current bus master. before any data is transmitted on the i 2 c interface, the current bus master must address the slave it wishes to transfer data to or from. the slave address is always sent out as the 1 st byte following the start condition sequence. an example of a master transmitting an address to a isd5216 slave is shown below. in this case, the master is writing data to the slave and the r/w bit is ?0?, i.e. a write cycle. all the bits transferred are from the master to the slave, except for the indicated acknowledge bits. master transmits to slave receiver (write) mode swaaaap slave address command byte high addr. byte low addr. byte acknowledgement from slave acknowledgement from slave acknowledgement from slave acknowledgement from slave r/w start bit stop bit a common procedure in the isd5116 is the reading of the status bytes. the read status condition in the isd5216 is triggered when the master addresses the chip with its proper slave address, immediately followed by the r/w bit set to a ?0? and without the command byte being sent. this is an example of the master sending to the slave, immediately followed by the slave sending data back to the master. the ?n? not-acknowledge cycle from the master ends the transfer of data from the slave. master reads from slave immediately after first byte (read mode) r/w from master start bit from master stop bit from master acknowledgement from slave acknowledgement from master not-acknowledged from master acknowledgement from master from master from slave from slave from slave sra a a n p low addr byte slave address status word high addr. byte
i5216 series advanced information preliminary publication release date: november 30, 2001 - 72 revision a1 another common operation in the isd5216 is the reading of digital data from the chip?s memory array at a specific address. this requires the i 2 c interface master to first send an address to the isd5116 slave device, and then receive data from the slave in a single i 2 c operation. to accomplish this, the data direction r/w bit must be changed in the middle of the command. the following example shows the master sending the slave address, then sending a command byte and 2 bytes of address data to the isd5216, and then immediately changing the data direction and reading some number of bytes from the chip?s digital array. an unlimited number of bytes can be read in this operation. the ?n? not- acknowledge cycle from the master forces the end of the data transfer from the slave. the following example details the transfer explained in the section on page 41 of this datasheet. master reads from the slave after setting data address in slave (write data address, read data) swaa aa slave address command byte high addr. byte low addr. byte acknowledgement from slave acknowledgement from slave acknowledgement from slave acknowledgement from slave r/w from master start bit from master sra a a n p 8 bits of data slave address 8 bits of data 8 bits of data r/w from master start bit from master stop bit from master acknowledgement from slave acknowledgement from master not-acknowled from master acknowledgement from master from master from slave from slave from slave
i5216 series advanced information preliminary publication release date: november 30, 2001 - 73 revision a1 i 2 s serial interface technical information the i 2 bus as shown in the following figure, the bus has three lines: ? continuous serial clock (sck) ? word select (ws) ? serial data (sd)and the device generating sck and ws is the master. simple system configurations and basic interface timing serial data serial data is transmitted in two?s complement with the msb first. the msb is transmitted first because the transmitter and receiver may have different word lengths. it isn?t necessary for the transmitter to know how many bits the receiver can handle, nor does the receiver need to know how many bits are being transmitted. when the system word length is greater than the transmitter word length, the word is truncated (least significant data bits are set to ?0?) for data transmission. if the receiver is sent more bits than its word length, the bits after the lsb are ignored. on the other hand, if the receiver is sent fewer bits than its word length, the missing bits are set to zero internally. and so, the msb has a fixed position, whereas the position of the lsb depends on the word length. the transmitter always sends the msb of the next word one clock period after the ws changes.
i5216 series advanced information preliminary publication release date: november 30, 2001 - 74 revision a1 serial data sent by the transmitter may be synchronized with either the trailing (high-to-low) or the leading (low-to-high) edge of the clock signal. however, the serial data must be latched into the receiver on the leading edge of the serial clock signal, and so there are some restrictions when transmitting data that is synchronized with the leading edge (see figure below ). note that the specifications are defined by the transmitter speed. the specification of the receiver has to be able to match the performance of the transmitter.
i5216 series advanced information preliminary publication release date: november 30, 2001 - 75 revision a1 word select the word select line indicates the channel being transmitted:  ws = 0; channel 1 (left)  ws = 1; channel 2 (right) ws may change either on a trailing or leading edge of the serial clock, but it doesn?t need to be symmetrical. in the slave, this signal is latched on the leading edge of the clock signal. the ws line changes one clock period before the msb is transmitted. this allows the slave transmitter to derive synchronous timing of the serial data that will be set up for transmission. furthermore, it enables the receiver to store the previous word and clear the input for the next word (see figure timing for i 2 s transmitter on previous page . ) timing in the i 2 s format, any device can act as the system master by providing the necessary clock signals. a slave will usually derive its internal clock signal from an external clock input. this means, taking into account the propagation delays between master clock and the data and/or word-select signals, that the total delay is simply the sum of:  the delay between the external (master) clock and the slave?s internal clock; and  the delay between the internal clock and the data and/or word-select signals. for data and word-select inputs, the external to internal clock delay is of no consequence because it only lengthens the effective set-up time (see figure timing for i 2 s transmitter on previous page.) the major part of the time margin is to accommodate the difference between the propagation delay of the transmitter, and the time required to set up the receiver. all timing requirements are specified relative to the clock period or to the minimum allowed clock period of a device. this means that higher data rates can be used in the future. timing for i 2 s receiver note that the specifications are defined by the transmitter speed. the specification of the receiver has to be able to match the performance of the transmitter. t = clock period t r = minimum allowed clock period for transmitter t > t r
i5216 series advanced information preliminary publication release date: november 30, 2001 - 76 revision a1 s parameters (all values in nanoseconds) transmitter receiver lower limit upper limit lower limit upper limit parameter min max min max min max min max notes bit clock period t 325 325 high time t hc 114 114 low time t lc 114 114 rise time t rc 49 delay t dtr 260 hold time t htr 100 set-up time t sr 65 hold time t hr 0 voltage level specification output levels v l < 0.4v v h > 2.4v both levels able to drive one standard ttl input (i il = ?1.6ma and i ih = 0.04ma). input levels v il = 0.8v v ih = 2.0v note: at present, ttl is considered a standard for logic levels. as other ic (lsi) technologies become popular, other levels will also be supported.
i5216 series advanced information preliminary publication release date: november 30, 2001 - 77 revision a1 device physical dimensions plastic thin small outline package (tsop) type e dimensions 5 6 7 8 9 10 11 12 13 14 2 3 4 15 16 17 18 19 20 21 22 23 24 25 26 27 28 a b g f c d e h j i min nom max min nom max a 0.520 0.528 0.535 13.20 13.40 13.60 b 0.461 0.465 0.469 11.70 11.80 11.90 c 0.311 0.315 0.319 7.90 8.00 8.10 d 0.002 0.006 0.05 0.15 e 0.007 0.009 0.011 0.17 0.22 0.27 f 0.0217 0.55 g 0.037 0.039 0.041 0.95 1.00 1.05 h 0 0 3 0 6 0 0 0 3 0 6 0 i 0.020 0.022 0.028 0.50 0.55 0.70 j 0.004 0.008 0.10 0.21 inches millimeters plastic thin small outline package (tsop) type e dimensions
i5216 series advanced information preliminary publication release date: november 30, 2001 - 78 revision a1 plastic small outline integrated circuit (soic) dimensions 1234 5 67 8 9 1011 121314 28 27 26 25 24 23 22 21 20 19 18 17 16 15 a b c d e f g h min nom max min nom max a 0.701 0.706 0.711 17.81 17.93 18.06 b 0.097 0.101 0.104 2.46 2.56 2.64 c 0.292 0.296 0.299 7.42 7.52 7.59 d 0.005 0.009 0.0115 0.127 0.22 0.29 e 0.014 0.016 0.019 0.35 0.41 0.48 f 0.050 1.27 g 0.400 0.406 0.410 10.16 10.31 10.41 h 0.024 0.032 0.040 0.61 0.81 1.02 note: lead coplanarity to be within 0.004 inches. plastic small outline integrated circuit (soic) dimensions inches millimeters
i5216 series advanced information preliminary publication release date: november 30, 2001 - 79 revision a1
i5216 series advanced information preliminary publication release date: november 30, 2001 - 80 revision a1 die bonding physical layout i5216 device pin/pad locations with respect to die center in micron (m) pin pin name x axis y axis v ssd v ss digital ground -1880.70 4721.30 v ssd v ss digital ground -1709.10 4721.30 ad0 address 0 -1407.20 4721.30 sda serial data address -1066.00 4721.30 ad1 address 1 -743.70 4721.30 scl serial clock line -428.60 4721.30 v ccd v cc digital supply voltage -156.50 4721.30 v ccd v cc digital supply voltage 58.90 4721.30 mclk external clock input 246.80 4721.30 int interrupt 554.10 4720.50 rac row address clock 1029.00 4721.30 sdio serial data input output 1362.60 4721.30 sdi serial data input 1679.50 4721.30 v ssa v ss analog ground 1840.55 4721.30 v ssa ? ? ? -2027.80 -4716.20 mic+ non-inverting microphone input -1824.20 -4716.20 mic- inverting microphone input -1628.60 -4716.20 micbs microphone bias voltage -1327.95 -4716.20 acap agc/automute cap -905.70 -4716.20 sp- speaker negative -373.50 -4716.20 v ssa v ss analog ground -39.90 -4716.20 v ssa v ss analog ground 50.10 -4716.20 sp+ speaker positive 383.70 -4716.20 v cca v cc analog supply voltage 717.30 -4716.20 v cca v cc analog supply voltage 807.30 -4716.20 aux in auxiliary input 1073.00 -4716.20 aux out auxiliary output 1325.95 -4716.20 sck serial data clock 1634.65 -4716.20 ws word select 1896.25 -4716.20
i5216 series advanced information preliminary publication release date: november 30, 2001 - 81 revision a1 i5216 series bonding physical layout (1) (unpackaged die) 1. the backside of die is internally connected to vss. it must not be connected to any other potential or damage may occur. 2. double bond recommended. this figure reflects the current die thickness. please contact winbond as this thickness may change in the future. i5216 series die dimensions x: 4380 i5216 i5216 series die dimensions x: 4380 i5216 i5216 series die dimensions x: 4380 m y: 9880 m die thickness (3) 292.1 m + 12.7 m pad opening (min) 90x 90 m 3.5 x 3.5 mils
i5216 series advanced information preliminary publication release date: november 30, 2001 - 82 revision a1 ordering information winbond part number description special temperature field: blank = commercial packaged (0c to +70c) or commercial die (0c to +50c) d = extended (?20c to +70c) i = industrial (?40c to +85c) package type: e = 28-lead 8x13.4mm plastic thin small outline package (tsop) type 1 s = 28-lead 0.300-inch plastic small outline package (soic) p = 28-lead 0.600-inch plastic dual inline package (pdip) x = die product family i5216 product (8- to 16-minute durations) i5216-_ _
i5216 series advanced information preliminary publication release date: november 30, 2001 - 83 revision a1 when ordering i5216 series devices, please refer to the following valid part numbers. part number i5216e I5216ED i5216ei i5216s i5216sd i5216si i5216p i5216x chip scale package is available upon customer?s request. for the latest product information, access winbond?s worldwide website at http://www.winbond- usa.com headquarters no. 4, creation rd. iii, science-based industrial park, hsinchu, taiwan tel: 886-3-5770066 fax: 886-3-5665577 http://www.winbond.com.tw/ taipei office 11f, no. 115, sec. 3, taipei, taiwan tel: 886-2-27190505 fax: 886-2-27197502 winbond electronics corporation america 2727 north first street, san jose, ca 95134, u.s.a. tel: 1-408-9436666 fax: 1-408-5441798 winbond electronics (h.k.) ltd. no. 378 kwun tong rd., kowloon, hong kong fax: 852-27552064 unit 9-15, 22f, millennium city, tel: 852-27513100 please note that all data and specifications are subject to change without notice. all the trade marks of products and companies mentioned in this data sheet belong to their respective owners. winbond electronics (shanghai) ltd. 200336 china fax: 86-21-62365998 27f, 2299 yan an w. rd. shanghai, tel: 86-21-62365999 winbond electronics corporation japan shinyokohama kohoku-ku, yokohama, 222-0033 fax: 81-45-4781800 7f daini-ueno bldg, 3-7-18 tel: 81-45-4781881 min-sheng east. rd.,


▲Up To Search▲   

 
Price & Availability of I5216ED

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X